Andrew Prostko wrote:
Wow, it really must be late, Thank you for pointing out that missing parenthesis ... 330am and now I can go to bed happy... TY VM Ending Code for anyone listening: Get PW from another .php page using: <form action="passwordcheck.php" method="post"> <br /> What is the Password?: <input type="text" name="pw" /> <input type="submit" value="Submit!"/> </form> This is the passwordcheck.php code: <?php if ($_POST['pw'] != burgers)
You might want to quote that as well: 'burgers' otherwise php will look for a defined value called 'burgers', ie: php will look for this: define('burgers', 'xyz'); and try to compare against that (in this case the real password is 'xyz'). If you turn up error reporting: error_reporting(E_ALL); and display errors: ini_set('display_errors', true); you would see a message about this. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php