Essayez quelque chose comme ceci :
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
Essayez quelque chose comme ceci :
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