I am stuck and getting errors with following string any ideas please im trying to prevent admin (user) being displayed in results.
SELECT * NOT LIKE 'admin' FROM users order by status ASC
I have tryed %admin% as well and i am stuck with errors!
Your syntax is wrong, you want to try something like this:
SELECT * FROM users WHERE username NOT LIKE '%admin%' ORDER BY status ASC
SELECT * FROM users WHERE user NOT LIKE 'admin' ORDER BY status ASC;
Put your where clause after the table name
WHERE username NOT LIKE 'admin'.
WHERE.