| Send user to URL If statement |
Adam5000

msg:4218683 | 6:35 am on Oct 19, 2010 (gmt 0) | I'm trying to send a user to a new page using an IF statement. It looks something like this. <?php $a=oranges if($a==oranges) { Send user to www.homepage.com } ?> Help!
|
enigma1

msg:4218688 | 6:47 am on Oct 19, 2010 (gmt 0) | <?php $a=oranges; if($a==oranges) { header("location: http://www.example.com"); exit(); } ?> |
|
|
|
|