Re: [PHP] Form variables not working

2002-11-16 Thread Jason Wong
On Sunday 17 November 2002 00:36, Chris Jackson wrote: > I am havein troubles gettin my form variables to work. > The "register_globals" in php.ini is set to its default of "off". [snip] > the dosent print anything in the action of the > form and the Because register globals is disabled you ha

Re: [PHP] Form variables not working

2002-11-16 Thread Ernest E Vogelsinger
At 17:36 16.11.2002, Chris Jackson said: [snip] >I am havein troubles gettin my form variables to work. >The "register_globals" in php.ini is set to its default of "off". > >the dosent print anything in the action of the form That's because register_global

Re: [PHP] Form variables not working

2002-11-16 Thread Leif K-Brooks
Because it isn't? Instead of echoing $PHP_SELF, echo $_SERVER['PHP_SELF']. With the $_POST problem, it's complaining that you're using a variable that isn't defined. Use? if(array_key_exists('formfieldnamegoeshere',$_POST)){ print $_POST['formfieldnamegoeshere']; } ?> Chris Jackson wrote: I

[PHP] Form variables not working

2002-11-16 Thread Chris Jackson
I am havein troubles gettin my form variables to work. The "register_globals" in php.ini is set to its default of "off". code: Form Series - Example One asdasdasddassad the dosent print anything in the action of the form and the echo $_POST["answered"]; on the first run gives