RE: [PHP] Open New URL window

From: Date: Thu, 20 Sep 2007 06:52:19 +0000
Subject: RE: [PHP] Open New URL window
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-262267@lists.php.net to get a copy of this message
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"); } ?> -----------

« previous php.general (#262267) next »