Menu
Hi ive got this code, which is the top half section of the query.
once i add “order” and “AND ORDER BY order DESC” it doesnt work.
would anyone help me out and say why that wouldnt work. thanks
my plan was to make it so the user comments are the newer posts at the top.
[code=php]
$query2 = “SELECT order, id, poster, subject, message FROM messages WHERE id = ‘$id’ AND ORDER BY order DESC”;
$sqlinbox2= mysql_query($query2);
if (!mysql_num_rows($sqlinbox2) ){
?>
<center><p><b>No comments to display</b></p></center>
<?
}else{
$num2 = ‘1’;
while($inbox2 = mysql_fetch_array($sqlinbox2))
{