I'm a newbie to php, so if the error is easy to spot don't blame me please, but i keep getting a parse error on line 20 of my script, here is my script.
<?php
include("common.php");
if(!($link_id = mysql_connect($Host, $User, $Pass))) die(mysql_erorr());
mysql_select_db($D😎;
$sql = "SELECT ID FROM " . $Table . " WHERE Name='" . addslashes($POST['Name']) . "' AND Password='" . md5($POST['Password']) . "' LIMIT 1";
if(!($result = mysql_query($sql))) die(mysql_error());
if(mysql_num_rows($result) == 1) {
setcookie("LoggedIn, TRUE, time()+(3600 * 24));
this is the script that gets the error ~~~>>> echo "Continue to the <a href=members.php>Members</a> page.";
} else {
echo "Login failure";
}
?>
and here is the log in page if it helps.. http://members.lycos.co.uk/projectgame/login.html
the login info is user: yes pass: yes