i always use such statements like :

if ($submit) { then do this }

else { render the page

}

and it works fine...
-----Original Message-----
From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2001 15:16
To: Php (E-mail)
Subject: [PHP] if $submit


Whenever I use  the <? if ($submit) >? statement in a php page it always
comes up with:

Warning: Undefined variable
Until the submit has been hit, and then it continue on with the rest of the
script fine ( ifelse).

How do you stop this warning message?

Thanks in advance!

Tarrant Costelloe
Web Developer
InsurE-com Ltd.
------------------------------------
Office Tel:  +44 (0)1273 852014
Mobile: +44 07714087114
[EMAIL PROTECTED]
http://www.insur-e.net


-- 
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]

Reply via email to