Re: Search-Engine for MySQL an Weblike Requests!

From: Date: Wed, 07 Jun 2000 20:37:56 +0000
Subject: Re: Search-Engine for MySQL an Weblike Requests!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1252@lists.php.net to get a copy of this message
<snip> > Does anyone know, where I can find this function? Else I have to code it > myself, but I'm to lazy for it! ;) </snip> Now, I'm new here and I am just a lurker untill I know what goes on. But I'm sure this sort of post is never going to, and should not get a reply Regards Dale Robinson ----- Original Message ----- From: "Oliver Kuhl" <O.Kuhl@gmx.de> To: <php-general@lists.php.net> Sent: Tuesday, June 06, 2000 12:19 PM Subject: [PHP-GENERAL] Search-Engine for MySQL an Weblike Requests! > Hi! > > I'm looking for a class or function, which provides the construction of a > MySQLQuery-String directly from an enterd searchstring like:'+"the rock" > +movie -geography' > Additional, the function should allow to enter the tablename, the fields (in > which I want to search) and the fields I want to receive. The function > should return something like that: > > 'SELECT id, description FROM tablemovie WHERE ((name LIKE "%the > rock%")OR(content LIKE "%the rock%"))AND ((name LIKE > "%movie%")OR(content > LIKE "%movie%"))AND NOT((name LIKE "%geography%")OR(content LIKE > "%geography%")) > > Does anyone know, where I can find this function? Else I have to code it > myself, but I'm to lazy for it! ;) > > Regards, > Oliver. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#1252) next »