Re: [PHP] PHP/MySQL Search Engine Query Question

2002-07-28 Thread Tech Support
Here is an idea using this method "car" would match "car", "carwash", "scar", "scarred", etc. Since this result will contain the entire boy of text you could some more matching or scoring for relevancy I had that code from a previous working project. I copied it and changed some var names to

RE: [PHP] PHP/MySQL Search Engine Query Question

2002-07-27 Thread Naintara Jain
You can use explode/split functions on the search parameters - that will give u an array with each search token indexed individually. Suppose the search input was 'abc xyz' $strsearch = "abc xyz"; $search=explode(" ",$strsearch); your array "search" will contain $search[0]=abc $search[1]=xyz