Hello!
What might be the reason I got this error please?
Parse error: parse error, unexpected T_STRING in /home/user/public_html/tony/admin.php on line 20
Line 20 is: <A HREF="login.html">You are logged out, maybe beacuse the cookie expired, log in again</A>
Thanks in advance.
<HTML>
<HEAD>
<TITLE>Admin</TITLE>
</HEAD>
<BODY>
<?
if($_COOKIE["status"]=="inside"){
$Link = mysql_connect("localhost", "user_user", "password");
mysql_select_db("user_tonydb", $Link);
$Query = "SELECT * FROM reviews WHERE id=1) or die (mysql_error());
$Result = mysql_db_query($Query,$Link);
$row=mysql_fetch_array($Result);
echo $row['datum'];
}
else{
?>
<A HREF="login.html">You are logged out, maybe beacuse the cookie expired, log in again</A>
<?
}
?>
</BODY>
</HTML>