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 '(' in
c:\inetpub\wwwroot\php\car.php on line 9

To avoid the error im simply using a script that doesnt use the ! mark but
the fact that using an ! in this position is occuring is worrying.. Has
anyone else encountered this?

Regards
Tristan Gutsche



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to