Hi
I have a website search page setup through dreamweaver and I would like the search to return results that are similar to or like the search term. At the moment, only exact matches are returned or all records if the search box is left blank (which I also need to happen).
The mysql code I have in the recordset is as follows:
SELECT * FROM database.table
WHERE dbfield LIKE 'vardbfield'
Any help would be great.
Cheers
Cammy
I have a website search page setup through dreamweaver and I would like the search to return results that are similar to or like the search term. At the moment, only exact matches are returned or all records if the search box is left blank (which I also need to happen).
The mysql code I have in the recordset is as follows:
SELECT * FROM database.table
WHERE dbfield LIKE 'vardbfield'
Any help would be great.
Cheers
Cammy