strpos() act funny when searching for "]]>"....
| From: | Scott Fletcher | Date: | Fri, 21 Nov 2003 15:55:03 +0000 |
| Subject: | strpos() act funny when searching for "]]>".... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170575@lists.php.net to get a copy of this message | ||
strpos() is acting a little bit funny. When I do this...
--snip--
$a = strpos($data,"]]>");
--snip--
Problem is there are "]]>" characters in the $data string and it just
doesn't see it. Anyone know why and what is the workaround to it?
Scott F.