How can i put the new comment on top
Posted: Thu Aug 12, 2010 7:49 am
Hi all ,
iam making script that's contain comments
but the problem is that the new comment always add at the bottom .. how can i make it at the top
iam using this code
iam making script that's contain comments
but the problem is that the new comment always add at the bottom .. how can i make it at the top
iam using this code
Code: Select all
while ($mem = mysql_fetch_array($re)) {
print "<table width=100% border=0 cellspacing=0 cellpadding=0>";
print "<tr>";
print "<td class=comment_bg>كتبها ". $mem['commenter']. "</td>"
print "</tr>";
print "<tr>";
print "<td class=comment_bg>".$mem['comment']."</td> </tr></table><br /><br />";
}