Best way to code a search engine (across my database)? |
[eluser]Bramme[/eluser]
I've never done that before, I'd have to look through the mysql documentation for the wildcard... I'd do it for you, but the page is a little too long to my liking :p http://dev.mysql.com/doc/refman/5.0/en/s...tions.html edit: okay, wanted to know anyhow: http://www.htmlite.com/mysql011.php So you should replace all your special characters with an underscore and then query the db. SELECT * FROM 'table' WHERE 'field' LIKE '%foo_ar%' |
Messages In This Thread |
Best way to code a search engine (across my database)? - by El Forum - 07-18-2008, 12:37 PM
Best way to code a search engine (across my database)? - by El Forum - 07-18-2008, 02:02 PM
Best way to code a search engine (across my database)? - by El Forum - 07-18-2008, 04:06 PM
Best way to code a search engine (across my database)? - by El Forum - 07-19-2008, 02:54 AM
Best way to code a search engine (across my database)? - by El Forum - 07-19-2008, 10:59 AM
Best way to code a search engine (across my database)? - by El Forum - 07-19-2008, 11:58 AM
Best way to code a search engine (across my database)? - by El Forum - 07-19-2008, 01:02 PM
|