Global variable
| From: | Erich Kolb | Date: | Wed, 17 Apr 2002 20:06:45 +0000 |
| Subject: | Global variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-93392@lists.php.net to get a copy of this message | ||
I have developed a simple login script. Right now it will check a submitted
username and password and verify it against a database. This part works
fairly well, however I want to know how to assign a variable that will pass
through to the next page(s) to do something like:
if verified == 1 then {display the page} else {display error message}
My apoligies on the syntax of the above, but hopefully you will get the
idea.