I am trying to ad a login for my site! Everything went fine except the log.php.... I keep getting
here is the log.phpCode:Parse error: syntax error, unexpected T_STRING in /home/bigbucks/public_html/log.php on line 11
Code:include ("functions.php"); sqlcon(); $user = $_POST['user']; $pass = $_POST['pass']; $result = mysql_query("SELECT * FROM users WHERE username='$user' and password='$pass'"); $count = mysql_num_rows($result); if($count == "1") ( session_register("loggedin") header("location: check.php"); <<<Line 11 ) else { echo "Could no log you in."; } ?>


LinkBack URL
About LinkBacks
Reply With Quote


