Probeer zoiets als dit:
SELECT *
FROM table_name
WHERE (UPPER(city) LIKE UPPER('%$searchq%')
OR UPPER(postal) LIKE UPPER('%$searchq%'))
AND disable = 1
ORDER BY IF(name = 'Zaboomafoo', 0, 1), name
Probeer zoiets als dit:
SELECT *
FROM table_name
WHERE (UPPER(city) LIKE UPPER('%$searchq%')
OR UPPER(postal) LIKE UPPER('%$searchq%'))
AND disable = 1
ORDER BY IF(name = 'Zaboomafoo', 0, 1), name