Menu
Hi
For some reason the below query is not omitting the rows that has the value Delete in the column status
thank you for any help
[code=php]
$query_sql_get_ads = (“SELECT * FROM ads WHERE status != ‘Delete’ title LIKE ‘%$search%’ OR category LIKE ‘%$search%’ OR sub_category LIKE ‘%$search%’ order by $sortBy desc LIMIT $start, $end”);