Hello Tarrant,

1st solution:
    turn off warnings in php.ini
2nd: use
    if(isset($submit)) { .. . ..  . }


Monday, May 21, 2001, 5:15:37 PM, you wrote:

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

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

TC> How do you stop this warning message?

TC> Thanks in advance!

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





-- 
Best regards,
 Vitali                            mailto:[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