faqts : Computers : Programming : Languages : PHP : Installation and Setup : Operating Systems : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 8 people (88%) answered Yes
Recently 7 of 8 people (88%) answered Yes

Entry

When submitting a form, the error "undeclared variable" is shown instead of the variable value?

Jan 7th, 2003 23:56
Kelson Vibber, John Cislowski,


Check whether register_globals is turned on or off in php.ini.  If it's
off (this is both the default and a good idea), make sure you're using
$_GET['variable_name'] or $_POST['variable_name'] instead of just
$variable_name.