xyn Posted July 8, 2007 Share Posted July 8, 2007 Hey, I'm just wondering for advice on my search system. Basically I have a search form, and in my tutorials table. i have a table called "tags". which are basiclly what i will search for. say i have "test, sql, php" and search for "php" I wanted to check the term "php" with my table :/ any ideas of the best process? thanks. Quote Link to comment https://forums.phpfreaks.com/topic/58937-sql-search/ Share on other sites More sharing options...
per1os Posted July 8, 2007 Share Posted July 8, 2007 You can use Regex which works pretty well, or LIKE with the % wildcard, or if you want FULL TEXT search you can use MATCH and AGAINST. Really it depends on how advanced you want to get. Quote Link to comment https://forums.phpfreaks.com/topic/58937-sql-search/#findComment-292460 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.