I am using the following query:
$query = "SELECT * FROM `$table[$a]` ORDER BY FIELD(typeof,'pdf','swf','img','web')";
to select and organize my mysql query, it works fine, except that there are several files in each type, and now I want to order them in alphabetical order, but keeping their order type. It makes sense?
source
share