Jump to content

How to Sort?


nithan

Recommended Posts

Hello,

 

I have a code which displays name and number. It is working now but  I want to sort the content on the basis of number... The code is given below:

 

while($rows = mysql_fetch_array($results)){

echo "". $rows['username'] ." ". $rows['COUNT(Completed_Sales)'] ."";

 

echo "<br />";

}

 

The result will look like this

 

Name Prdoducts.

Link to comment
https://forums.phpfreaks.com/topic/253739-how-to-sort/
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.