m00nz00mer Posted February 26, 2008 Share Posted February 26, 2008 hey i was wondering how i could get this array to list in date order? would you use orderby? if($num_rows_comment>0){ while ($comBY = mysql_fetch_array($reviewedByQueryResult)) { echo "Reviewed by: <div class='detailTextGrey'>".$comBY['userName']." </div>"; } } else { echo "No reviews have been posted..."; } ?> Quote Link to comment Share on other sites More sharing options...
blackwinter Posted February 26, 2008 Share Posted February 26, 2008 For this you would have to change your mysql query and use the ORDER BY date_variable_name and that should work. Quote Link to comment Share on other sites More sharing options...
m00nz00mer Posted February 26, 2008 Author Share Posted February 26, 2008 ah cool thanks dude Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.