|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Does anyone know how to sort an array once its been recieved by the MYSQL select??? Thanks!
Chris Madson |
|
#2
|
|||
|
|||
|
RTFM under array functions: asort(), arsort(),ksort(), krsort()
|
|
#3
|
||||
|
||||
|
If you're talking about sorting the rows, you do that in your mysql SELECT command using GROUP BY, ORDER BY, etc....
Check out the manual....love those manuals.... ---JH ------------------ ************************************************************* * The manual can probably answer 90% of your questions... * * PHP Manual. www.php.net/manual * MySQL Manual: www.mysql.com/documentation/mysql/bychapter ************************************************************* |
|
#4
|
|||
|
|||
|
Thanks for the replies. The question was more along these lines, I have read the manual and was looking for more direct user knowledge, since having implemented it like in the book, I was unable to get it to work. Thanks for helping though.
Chris Madson |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Sorting an array? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|