RE: [PHP] if $submit

From: Date: Mon, 21 May 2001 14:17:28 +0000
Subject: RE: [PHP] if $submit
Groups: php.general 
Request: Send a blank email to php-general+get-53724@lists.php.net to get a copy of this message
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:tcostelloe@insur-e.net] 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 tcostelloe@insur-e.net http://www.insur-e.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#53724) next »