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;
$url='http://www.espn.com';

$account=$_POST["account"];

if ($account==$user1)
{
header ('Location: /support.html');
exit;
}
elseif ($account==$user2)
{

header('Location: /services.html');
exit;
}
elseif ($account==$user3)
{
header('Location: /about.html');
exit;
}
else
{
echo "this don't work";
}
?>

I have also tried ('Location: http://mydomain.com/about.html'); and to no avail.