2day i hve another problem ..this is my code
<?php
$data = mysql_query("SELECT * FROM entries ORDER BY id DESC LIMIT $x
, 3")
or die(mysql_error());
while($info = mysql_fetch_array( $data ))
{
echo"
<div id=\"containing\">s
<h1>".$info['contents']."</h1>
<div id=\"parent\" >
<p >".$info['author'] ."</p>
</div>
</div>
<?php
echo "<a href=\"$info['contents'].php\" >READ MORE</a>";
?>
";
}
?>
and i m getting this error in the 'echo <a href .....' line
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\xampp\htdocs\display.php
please reply fast