I've been banging my head against a wall for hours trying to figure out what's wrong here.
I'm simply doing a comparison between two values and it's not working.
I've isolated this simple issue to this
little test.
if($session[title] == "[choose]")
echo "EQUAL";
else
echo "NOT EQUAL";
BUT when $session[title] DOES equal [choose] it's still returning NOT EQUAL.
I've check the type of both values and they are of type string. I've tried to replace the double quote around [choose] with single quotes but it doesn't matter.
I need a CLUE here! please help
What is the problem?