ok now i have this...
<?
@ $db = mysql_pconnect("localhost", "notshown", "notshown");
if (!$db)
{
echo "<b>Could not connect to database, try again later.</b>";
exit;
}
mysql_select_db("news");
$result = mysql_query("SELECT id,title FROM reviews ORDER BY id DESC LIMIT 10 ");
$numrows = mysql_num_rows($result);
if ($numrows > 0)
{
$row = mysql_fetch_object($result);;
print"<h6><a href=\"http://www.flashstand.com/reviews/reviewdis.php?id=$row->id\">$row->title</a></h6>";
}
else
{
print"No reviews exsist yet!";
}
?>
And it only displays the newest one, not 10 of the newest ones. I tried doing the print 10 times but it just displayed the newest one ten times? How can i make it so it displays the 10 different newsest ones?