Welcome Guest, Not a member yet? Register   Sign In
Best way to code a search engine (across my database)?
#2

[eluser]Bramme[/eluser]
1) build a logic that if the term isn't between " ", it searches for LIKE %$key% OR like %$key2% (so explode using the spaces) but if it's between " ", it leaves the space in...

2) you could run an ereg_replace on all your non standard letters, like é à etc. and replace them with e and a.


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



Theme © iAndrew 2016 - Forum software by © MyBB