Yep, that worked a treat thanks. All those danged those brackets are
what keep tripping me up.
The fog is lifting :-)
I'll now go back to lurking and see what else I can learn.
Regards,
Dave
----- Original Message -----
From: Toby Butzon <[EMAIL PROTECTED]>
To: Dave Stewart <[EMAIL PROTECTED]>; PHP (General)
<[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 12:36 PM
Subject: Re: [PHP] Sub Newbie Question On Error Message
> Take a look at the changes I made to your original post; this
assumes that
> the file isn't there until results are posted - hope that's the case
;)
>
> --Toby
>
> > <?
> if ($file =
fopen("http://www.ourheadoffice.co.nz/results/race01.html",
> "r")) {
> > $rf = fread($file, 200000);
> > $grab = eregi("<tr bgcolor=\"#CCFF99\">(.*)</html>", $rf,
$printing);
> > fclose($file);
> > echo "<table><tr>";
> > echo $printing[1];
> } else {
> echo "Results will be available after the event.";
> }
> > ?>
>
>
>
--
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]