Hi,
I was wondering how i would go about seaching all columns for a string.
i tried this:
SELECT FROM artists WHERE LIKE '%$search%'
artists
But it doesnt work...
Any ideas?
Thanks
Dom
You'll have to name each field.
SELECT * FROM `artists` WHERE `firstname` LIKE '%$search%' OR `lastname` LIKE '%$search%' ...