Re: if $submit

From: Date: Mon, 21 May 2001 14:35:27 +0000
Subject: Re: if $submit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53721@lists.php.net to get a copy of this message
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> tcostelloe@insur-e.net TC> http://www.insur-e.net -- Best regards, Vitali mailto:falileev@itos.eu.org

« previous php.general (#53721) next »