I'm trying to output a table with rows that have size 1 borders from the URL
listed below using the file() and count() functions.

Any assistance would be greatly appreciated.
Thank you.
Tony Ritter
............................................

<?
function getWeather($weatherdata)
 {
  $weatherdata;
  $content=file($weatherdata);
  foreach($content as $value)


    print("<TABLE BORDER=1 WIDTH=\"75%\" ALIGN=CENTER>");
    print("<FONT FACE=\"arial\" SIZE=1>");
      if($i=0; $i<=count($value); $i++)
       {
        print("<TR>".$value."</TR>");
       }
    print("</FONT>");
    print("</TABLE>");
   }
}
getWeather("http://www.nrcc.cornell.edu/cgi-bin/fcst?NY062";);
?>





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to