Prøv noget som dette:
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
Prøv noget som dette:
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