hi, how can i fix this?
SELECT * from items WHERE stock='instock' AND NOT items LIKE '%OFFER%' items ORDER BY rand() LIMIT 18
Thanks 🙂
SORTED!!!
SELECT * from items WHERE stock='instock' AND '%OFFER%' NOT LIKE name ORDER BY rand() LIMIT 18
Glad we could help. 😉