php-db | 2000121
Date: 12/13/00
- Next message: Matthew Ballard: "Re: [PHP-DB] AUTO INCREMENT - MySQL + PHP"
- Previous message: Abdul Kadir: "RE: [PHP-DB] dbase_ commands dont work"
- Next in thread: Zak Greant: "[PHP-DB] Re: [PHP-WIN] Kinda silly question"
- Reply: Zak Greant: "[PHP-DB] Re: [PHP-WIN] Kinda silly question"
- Reply: Ignatius Teo: "[PHP-DB] RE: [PHP-WIN] Kinda silly question"
- Reply: Pablo Vera: "[PHP-DB] Re: [PHP-WIN] Kinda silly question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Maybe this one is a silly question ...
Could someone teach me about that damn $PHP_SELF ???
coz until now i can't get it work in anyway .. so i have to make a lot of pages.
i mean like whenever i wanna use it, it gaves me an error ...
ex:
if ($comp) {
bla bla bla
} else {
echo "<form name='form' action='$PHP_SELF">";
echo "<input type='text' name='comp'>";
echo "<input type='submit' value='get it'>";
echo "</form>";
or
echo "<form name='form' action='$PHP_SELF">";
echo "<input type='text' name='comp'>";
echo "<input type='submit' value='get it'>";
echo "</form>";
print "$comp";
It always said that :
Warning: Undefined variable: comp in c:\homepage\modify.php on line 10
- Next message: Matthew Ballard: "Re: [PHP-DB] AUTO INCREMENT - MySQL + PHP"
- Previous message: Abdul Kadir: "RE: [PHP-DB] dbase_ commands dont work"
- Next in thread: Zak Greant: "[PHP-DB] Re: [PHP-WIN] Kinda silly question"
- Reply: Zak Greant: "[PHP-DB] Re: [PHP-WIN] Kinda silly question"
- Reply: Ignatius Teo: "[PHP-DB] RE: [PHP-WIN] Kinda silly question"
- Reply: Pablo Vera: "[PHP-DB] Re: [PHP-WIN] Kinda silly question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

