Jump to content

Parse error: syntax error, unexpected T_IS_NOT_EQUAL, expecting ',' or ')'


cactus

Recommended Posts

Hi,

 

I'm trying to create a cms and am encountering an error which I can't figure out.

The error message reads:

 

Parse error: syntax error, unexpected T_IS_NOT_EQUAL, expecting ',' or ')' in C:\wamp\www\cms\admin.php on line 6

 

The section of code that is giving me the error is as follows:

 

if (isset( $_GET['action'] != "login") && $_GET['action'] != "logout" && !$_SESSION['username'] ) {  //THIS IS LINE 6

  login();

  exit;

}

 

Is there anybody that can help me figure out what is going wrong?

 

Thanks in advance :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.