30
Apr
Apr
is possible to ORDER BY inside a loop?
any help will be grat, thanks
Answer:
Why can't you just order your data by using the ORDER BY clause in your SQL statement? If you don't do it that way and go the PHP route, you can sort stuff in there too. You can either write your own sorting function (insertion, quicksort, shellsort, etc…), or if there are some PHP sorting libraries, use those. Book Mark it-> del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkList
This entry was posted
on Wednesday, April 30th, 2008 at 2:29 pm and is filed under Programming.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or TrackBack URI from your own site.