You set error_reporting to 15 (E_ALL) instead of 7.
Turn it back down to 7 or fix your scripts to use
if (isset($submit)){
}
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: James Smith <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Tuesday, January 30, 2001 1:54 AM
Subject: [PHP] Variable Problem when UPGRADING...
> 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) {
> file://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/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]