Reply to Re: Is there any function in php that will match a word exactly and if it finds it, it returns true.

Your name:

Reply:


Posted by Krustov on 11/10/07 22:51

<comp.lang.php>
<Brendan Gillatt>
<Sat, 10 Nov 2007 22:43:04 +0000>
<uu-dnYh9Kt09rqvanZ2dnUVZ8sLinZ2d@pipex.net>

> *borrowing Krustov's code as template*
>
> $demo="Bob is from Los Angeles CA";
>
> $qaz=" CA"; // note the extra space
>
> $wsx=strpos($qaz,$demo);
>
> if ($wsx==true) {print "exact match found";}
>

Thats not a ideal solution to the well known php bug you refer to .

Best not to mention such things until a user has a problem IMHO .

[Back to original 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

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