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]
|