Re: if(!$submit)

From: Date: Tue, 07 Aug 2001 14:50:41 +0000
Subject: Re: if(!$submit)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61635@lists.php.net to get a copy of this message
On Tue, Aug 07, 2001 at 03:47:19PM +0100, Tarrant Costelloe wrote: > When using if (!$submit) I get an error saying: > Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on line > 1 > Fair enough, so then I add if (isset(!$submit)) and I then get an error; > Parse error: parse error, expecting T_VARIABLE' or > '$'' > Could someone please tell me the more than likely simple sollution. > > Thanks > > Taz if (!isset ($submit)) or if (!isset ($submit) || empty ($submit)) You were SO close! -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- H: +31 23 5516190 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#61635) next »