Hi.
I have a querystring that contains a search string entered by the user.
I want to search 2 fields in my table (description and headline) for the querystring..
Simply, I want to check both fields if any of the, OR BOTH, contains the querystring...
I am using PHP by the way...
SELECT * FROM db WHERE xxxxxxxxxxxxxxxxxxx?
Thanks for all help...
OK, but there is a problem... When i try the simple query SELECT * FROM db WHERE description LIKE '$variable' OR headline LIKE '$variable'
PROBLEM is that it wants the field to be EXACTLY the same as the string value, why?
Thanks