Function / String Problem

From: Date: Fri, 19 Jan 2001 17:17:13 +0000
Subject: Function / String Problem
Groups: php.general 
Request: Send a blank email to php-general+get-35644@lists.php.net to get a copy of this message
Okay, what is wrong with this: echo "<br><br>...are you logged in: $LoggedIn()<br><br>"; // outputs: ...are you logged in: () Function is: function LoggedIn(){ global $HTTP_POST_VARS if ($HTTP_POST_VARS["Login"] == "PHPIsCool") {return "YES";} else {return "NO";} }

« previous php.general (#35644) next »