How can i "order by asc" using php instead of the sql instruction? can php be more faster than sql to order alphabetically, a list of results from the database??
Use the array sort functions, but if this is a sort that can be done in sql, do it in sql.
do in sql because of the speed ? or simplicity? php will be more slow to make this sort?
Cheers
Do it in sql for speed AND simplicity. Doing it outside of sql makes you create an array, then sort an the array, blah blah blah. Functions that are just overhead, and don't need to be called.
thanks a lot,
cheers