Jump to content

using && 'T_BOOLEAN_AND'


adamriley

Recommended Posts

adamriley.php (part file)

 

if (isset($_SESSION["delete_session"])) && ($_SESSION["delete_session"] == 'yes'){ 
session_destroy();
}

 

could some one say why i get an error of "Parse error: syntax error, unexpected T_BOOLEAN_AND "

 

 

if (isset($_SESSION["delete_session"]) && $_SESSION["delete_session"] == 'yes'){ 
session_destroy();
}

 

Try that.

Link to comment
https://forums.phpfreaks.com/topic/205082-using-t_boolean_and/#findComment-1073534
Share on other sites

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.