I have the following code snippet that is working find but am trying to sort the results ASC. I’ve tried numerous variations and none work?
$res = mysql_query('SELECT DISTINCT call FROM ' . DB_TABLE);
Does not work:
$res = mysql_query('SELECT DISTINCT call FROM ' . DB_TABLE . 'ORDER BY call ASC');
You miss a space :