The question I asked before was for this script:
<?
$open = fopen("http://nu.nl/deeplink_html", "r");
$read = fread($open, 1000);
fclose($open);
$search =
eregi("<DIV><B>nieuws.hoofd</B><UL><LI>(.*)</UL></DIV><DIV><B>nieuws.overig<
/B><UL><LI>", $read, $printing);
$printing[1] = str_replace("<LI>", "", $printing[1]);
$printing[1] = str_replace("</LI>", "<br>", $printing[1]);
$printing[1] = str_replace("<A HREF=", "<A target="_blank" HREF=",
$printing[1]);
$content = $printing[1];
$content = explode("·", $content);
$headlines = sizeof($content);
for ($i = 0; $i < $headlines; $i++) {
print "$content[$i] $headlines[$i]";
}
?>
So is it posible to get only 5 lines out of this script?
Thx again
--
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]