At 20:23 15.12.2002, Lightfirst said:
--------------------[snip]--------------------
>I am using PHP and MySql and wanted to know if it possible to pass the value
>inserted in a text box back to the page using PHP_SELF. Bellow is the
>snipped of code. The part that is not working is &q=input. Any ideas?
>
><form name=\"update\" method=\"post\"
>action=\"$PHP_SELF?action=change&id=$id&q=input\">
--------------------[snip]-------------------- 

Most certainly register_globals is off in your php.ini file. Try using
$_SERVER['PHP_SELF'] instead of $PHP_SELF.


-- 
   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035
    ^     http://www.vogelsinger.at/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to