You are here: Re: any way to perform a fulltext search on a string less than four characters (e.g. PHP?) « PHP SQL « IT news, forums, messages
Re: any way to perform a fulltext search on a string less than four characters (e.g. PHP?)

Posted by Nick on 11/24/05 20:35

John McClumpha wrote:
> Does anyone know of a way to perform a fulltext search (PHP/MYSQL) on
> a string less than 4 characters in length?
>
> e.g. if searching for 'PHP' ?

<?
$sentence = 'A string that contains PHP, the name of this language';

if ( strpos($sentence, 'PHP') !== FALSE )
echo "Found PHP in the string";
?>

> I thought about a boolean search adding * before/after the search
> string -
> *PHP*' - however that doesn't seem to work either...
>
> TIA
>
> --
> John McClumpha
> Darkness Reigns - http://www.incitegraphics.com.au/darkness/

 

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

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