Ok, so I started using the header code that was suggested:

And I get this error: 
        
Parse error: parse error, unexpected '{' in
/home/char-lee/public_html/beta/1.php on line 3

This is the code:
-----------
<?php
        if ($_POST['pw'] != burgers
        {
        header("Location: password.php");
        }
        else
        {
        header("Location: sept-coupon07.html");
        }
?>
-----------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to