alright, I'm copying this tutorial to create a login page

http://www.9lessons.info/2009/09/php...e-example.html

and it starting to piss me off, and I dont know why its not redirecting to the page I want to redirect

and this is my script for the login page

include "database-connection.php";
session_start();

if($_SERVER["REQUEST_METHOD"] == "POST")
{
// username and password sent from Form
$myusername=addslashes($_POST["username"]);
$mypassword=addslashes($_POST["password"]);

$sql="SELECT id FROM Account_Info WHERE UserName='$myusername' and Password='$mypassword'";
$result=mysql_query($sql);
$row=mysql_fetch_array($result);

$count=mysql_num_rows($result);


// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1)
{
session_register("myusername");


header("location: http://www.adamistheschmidt.com/bkcms/home.php");

}
else
{
$error="Your Login Name or Password is invalid";
}
}


thank you for all of your help in advance