Hey people!
What is wrong with this code?
$buffer = split("([0-9] -->)",$pagedata);
$x = count ($buffer);
echo $x;
for ($i=0;$i<$x;$i++) {
ereg("([0-9] -->)", $buffer[$i], $text);
ereg_replace (" -->","", $text[1]);
echo $text[1];
}
Since $pagedata has 8 appearences of the REGEX I am looking for and it is
only printing the first one...
Help! ;-)
Thank you,
Rom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]