You are here: Re: FW: Advanced search form « PHP « IT news, forums, messages
Re: FW: Advanced search form

Posted by Michelle Konzack on 12/09/05 13:30

Thanks,

I will try it out...

Am 2005-12-07 09:41:20, schrieb Brent Baisley:
> Here is some code that you can modify. It's design to convert a
> search string into a MySQL full text search string, not sure how
> different pgsql is. It adds * for word expansion where appropriate.
> It assume a space is the delimiter, but that's easy to change in the
> explode statement.
>
> Example:
> "this is a search" -XXX Test
>
> becomes
>
> +"this is a search" -XXX* +Test*
>
> Conversion function:

<snip>



--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация