|
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 .
Navigation:
[Reply to this message]
|