Hi,

We have installed PHP pretty much to do one thing, which is to get
data from our head office website and place it on our club site.

We need to have a message saying something like "The Results are not
available until after the event".

I can supress the error messages by adding @ before the functions but
that's the best this dork can manage at this early stage in his PHP
Programming career :-)

I know this must use if and else or something and I'd appreciate
someone untangling my newbie brain.

This is the code we are using now.

<?
$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];
?>

Thanks in advance.

Dave Stewart


-- 
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]

Reply via email to