graham23s Posted June 23, 2008 Share Posted June 23, 2008 Hi GUys, i have made a mini search engine, it pulls from mysql! i have came across an error (kind of) if i search for 1 word, it brings results back great! but if theres 2 words that ARE in the database but aren't together, i get no results back! is there a way to search all the words at all? instead of expecting them to be beside each other? thanks guys Graham Quote Link to comment Share on other sites More sharing options...
whiteboikyle Posted June 23, 2008 Share Posted June 23, 2008 Try and make it do this "your name kyle cribbs test type" Have it make an array for each word.. So like explode where the spaces are. So it can be "your" "name" "kyle" "cribbs" "test" "type" I think you could use the explode function.. Correct me if i am wrong.. Trying to help xD Quote Link to comment Share on other sites More sharing options...
graham23s Posted June 23, 2008 Author Share Posted June 23, 2008 Hi Mate, Thats an idea! explode them! i will give that a whirl, thanks for the input mate Graham Quote Link to comment 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.