Re: if(!$submit)
| From: | Colin Viebrock | Date: | Tue, 07 Aug 2001 15:05:21 +0000 |
| Subject: | Re: if(!$submit) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61636@lists.php.net to get a copy of this message | ||
> 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.
if (!isset($submit)) { ...
Note the location of the "!"
- Colin