Danke looks like its a simple case where the reference book had a Typo in it
putting the ! on the outside of the bracket.
Thanx for your help.
Regards
Tristan
"Greg Donald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tristan G
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tristan Gutsche wrote:
| Hello im hoping someone might have an insight into this one im getting an
| odd error when I use a not condition in an if statement
|
| The code is as follows:
| if !(isset($_REQUEST["license"]))
| {
| $license = "off";
| }
|
Hello im hoping someone might have an insight into this one im getting an
odd error when I use a not condition in an if statement
The code is as follows:
if !(isset($_REQUEST["license"]))
{
$license = "off";
}
The error I am receiving is:
Parse error: parse error, unexpected '!', expecting '('
3 matches
Mail list logo