Parse error: parse error, unexpected $end in c:\program files\apache group\apache\htdocs\checkuser.php on line 32
I get this error when I use this code
<html>
<head>
<title>Check User</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="Game, Game Estate, Video Games, Cheats, Codes, Playstation, Playstation2, Xbox, GC, Gamecube, Walkthroughs, Help, Faqs, Forums">
<meta name="description" content="Game Estate is a website containing all of the gaming information that you will need. There are reviews, forums, and much more!">
<LINK REL=STYLESHEET TYPE="text/css" HREF="style.css">
<script src="fade.js" language="Javascript"></script>
</head>
<body bgcolor="#000000" alink="#BBBBBB" link="#BBBBBB" text="#DDDDDD" vlink="#BBBBBB">
<?
$myuser = "username";
$mypass = "password";
if ($username == $myuser && $password == $mypass)
{
header("Location:http:/12.226.40.198/addthenews.php");
}
else
{
echo"Wrong Username or Password";
header("Location:http:/12.226.40.198/");
?>
</body>
</html>
Would that make a good single user login code anyways?