Variable Problem when UPGRADING...

From: Date: Tue, 30 Jan 2001 07:55:06 +0000
Subject: Variable Problem when UPGRADING...
Groups: php.general 
Request: Send a blank email to php-general+get-37252@lists.php.net to get a copy of this message
Alright, when i was programming with PHP3, I would use if statements like this: if(!$submit) { // display form } else { // display signup complete } to make multiple pages. Or I would do this: if($action == "signup") { if(!$submit) { //display form } else { // display signup complete } } if($action == "login") { // show login screen } But now I get an error like this: Warning: Undefined variable: submit in c:\apache\htdocs\test.php on line 3 I don't know if I misconfigured my php.ini file or what. Thanks, James __________________________________________________ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

« previous php.general (#37252) next »