Neo
09-24-2001, 05:52 AM
// Top 5 Attachments
$attach5 = $DB_site->query('SELECT attachmentid,counter,filename FROM attachment ORDER BY attachmentid DESC LIMIT 5');
while ($attach5top = mysql_fetch_array($attach5)):
++$attach5topnbsp;
$attach5file .= "$attach5top[filename]<br>";
$attach5hits .= "$attach5top[counter]<br>";
this is for top 5 attachments but there is no link in it so could someone help me get one. the link should go in here $attach5file .= "$attach5top[filename]<br>";
to the attach that is in the top 5, but this only shoes it can anyone help
$attach5 = $DB_site->query('SELECT attachmentid,counter,filename FROM attachment ORDER BY attachmentid DESC LIMIT 5');
while ($attach5top = mysql_fetch_array($attach5)):
++$attach5topnbsp;
$attach5file .= "$attach5top[filename]<br>";
$attach5hits .= "$attach5top[counter]<br>";
this is for top 5 attachments but there is no link in it so could someone help me get one. the link should go in here $attach5file .= "$attach5top[filename]<br>";
to the attach that is in the top 5, but this only shoes it can anyone help