if you scroll down you will see the comment i add to show line 29.
Parse error: syntax error, unexpected T_STRING in /home/therring/public_html/login.php on line 29
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
//Database Information
$dbhost = "localhost";
$dbname = "users";
$dbuser = "therring_argon";
$dbpass = "420test";
//Connect to database
mysql_connect ( $dbhost, $dbuser, $dbpass)or die("Could not connect: ".mysql_error());
mysql_select_db($dbname) or die(mysql_error());
session_start();
$username = $_POST[‘username’];
$password = md5($_POST[‘password’]);
//line 29 is below
$result = mysql_query(“SELECT * FROM user WHERE username=’$username’ and password=’$password’”);
if (mysql_num_rows($result) != 1) {
$error = “Bad Login”;
include “login.html”;
} else {
$_SESSION[‘username’] = “$username”;
include “memberspage.php”;
}
?>
</body>
</html>