<html>
<head>
<title>Connection Script</title>
</head>
<body bgcolor="#ddffdd" text="blue">
<center>
<?php
// Connects to your Database
mysql_connect("iqdb", "jose", "admin") or die(mysql_error());
mysql_select_db("quotes") or die(mysql_error());
$data = mysql_query("SELECT quotetext FROM `quotes` WHERE id ='102'")
or die(mysql_error());
Print "<table border cellpadding=30>";
while($info = mysql_fetch_array( $data ))
{
Print "<tr>";
Print "<th>ID:</th> <td>".$info['id'] . "</td> ";
Print "<th>DATE:</th> <td>"$info['date'] ."</td>";
Print "<th>QUOTETEXT:</th> <td>"$info['quotetext'] ."</td>";
Print "</tr>";
}
Print "</table>";
?>
</center>
</body>
</html>
How do I solve this error "Parse error: syntax error, unexpected T_VARIABLE line 18"