Jump to content

order array


m00nz00mer

Recommended Posts

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...";

}

 

?>

 

Link to comment
https://forums.phpfreaks.com/topic/93152-order-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.