Newbie / Table Output

From: Date: Mon, 14 Oct 2002 15:20:21 +0000
Subject: Newbie / Table Output
Groups: php.general 
Request: Send a blank email to php-general+get-119894@lists.php.net to get a copy of this message
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"); ?>

« previous php.general (#119894) next »