I am trying to run an SQL Query in PHP and order by 1 column but in a certain order
i have tried this:
$sql3="SELECT * from extension
where client_id = '".$result2["id"]."'
ORDER BY FIELD(type, 'term', 'queue', 'ivr', 'voicecentre', 'conference', 'callback', 'intercom', 'queuecentre') ";
but its just not ordering at all