How would you alphabetize the output of a MySQL database using php? Thanks,
A Anonymous Guest Dec 10, 2003 #1 How would you alphabetize the output of a MySQL database using php? Thanks,
A Anonymous Guest Dec 10, 2003 #2 Either dump the result set into an array and sort it using a php array_sort function, or just sort it before you get it from the database using sql. ind list of functions on http://www.php.net
Either dump the result set into an array and sort it using a php array_sort function, or just sort it before you get it from the database using sql. ind list of functions on http://www.php.net
A Anonymous Guest Dec 10, 2003 #3 Skeletor said: or just sort it before you get it from the database using sql. Click to expand... What Skeletor means is that you should use the ORDER BY clause. See the SELECT documentation for details.
Skeletor said: or just sort it before you get it from the database using sql. Click to expand... What Skeletor means is that you should use the ORDER BY clause. See the SELECT documentation for details.