Re: if(!$submit)

From: Date: Tue, 07 Aug 2001 14:44:48 +0000
Subject: Re: if(!$submit)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61633@lists.php.net to get a copy of this message
> Fair enough, so then I add if (isset(!$submit)) and I then get an error; ^^^^^^^^^^^^ try if(!isset($submit)) instead Tomy Wagner Web Developer Editus S.A. ----- Original Message ----- From: "Tarrant Costelloe" <tcostelloe@insur-e.net> To: <php-general@lists.php.net> Sent: Tuesday, August 07, 2001 4:47 PM Subject: [PHP] if(!$submit) > 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 > > -- > 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 (#61633) next »