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

2002-07-28 Thread Tech Support
Here is an idea ? // make array out of words in search string $search_array = explode(' ', $search); // make regexp pattern '.*(this|or|that).*' $string = .*( . implode('|', $search_array) . ).*; $query = SELECT * FROM my_table WHERE body REGEXP '$string'; $result = mysql_query($query,

Re: [PHP] PHP based search engine

2002-03-10 Thread Underbrush
I don't see why not, but you have to write the search engine. i.e. create a form, take user input, search your database, search your static files, and return some formatted output with links to the content. It's a project. Someone else might be able to point you to some pre-written code. I

Re: [PHP] PHP based search engine

2002-03-10 Thread Samuel Ottenhoff
Check out phpdig: http://phpdig.toiletoine.net/ My guess is that one of these packages on the web can serve as a foundation for you... You might just need to build a custom layer on top of it. Check out the site freshmeat.net. It tracks software packages and new updates and is quite focused on

RE: [PHP] PHP and search engine???

2002-01-13 Thread Martin Towell
you could try looking at http_referer or remote_host or something like that. Never tried it myself, but sounds like it'd work... dunno what the values for them would be though :( -Original Message- From: Dani [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 2:17 PM To: PHP LIST

Re: [PHP] PHP and search engine???

2002-01-13 Thread Jason Wong
On Monday 14 January 2002 10:08, Martin Towell wrote: you could try looking at http_referer or remote_host or something like that. Never tried it myself, but sounds like it'd work... dunno what the values for them would be though :( -Original Message- From: Dani [mailto:[EMAIL