Search found 2 matches

by surreylee
Mon Feb 10, 2014 10:09 pm
Forum: PHP - Code
Topic: Help redirecting URL based on user's input...
Replies: 2
Views: 580

Re: Help redirecting URL based on user's input...

It just goes to a blank page
by surreylee
Mon Feb 10, 2014 7:21 pm
Forum: PHP - Code
Topic: Help redirecting URL based on user's input...
Replies: 2
Views: 580

Help redirecting URL based on user's input...

I am trying to re-direct users to specific URLs depending on their input from another page. Code listed below: <?php $user1=999; $user2=100; $user3=200; $account=$_POST["account"]; if ($account==$user1) { header ('Location: /support.html'); exit; } elseif ($account==$user2) { header('Locat...