Never mind that! It work now.... Been working on it for a few hours though....
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Everyone! > > I'm not really sure why does this simple script not work. When I run > the code, the loop kept going until it timed out. I'll enclose the simple > code here... > > --snip-- > $res_str = "<Dog Name>Whoof</Dog Name><![CDATA[Whose Dog is that??]]>"; > > for ($i=0;$i<1000000;$i++) > { > if (substr($res_str, $i, 9) == "<
