In your example
SELECT [fields] FROM [table] WHERE product_id LIKE '%IR56%' OR LIKE
'%1k09%' OR LIKE '%7a72%' OR LIKE '%6f22%'
would it be possible to use a $variable instead of a string of characters? :confused: I'm very new to PHP and I've looked everywhere for a solution to doing a partial match with a variable. Surely there's a way! Do I just need to change the syntax somehow? Should I be using something...
Leave a comment: