Posted by Rik on 05/31/06 00:52
Dave Gilmour wrote:
> $content
>
=file("http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no=0142
7510");
> array_pop($content);
> $current = array_pop($content);
> print($current);
> My question is this. I'd like to format that information so it looks
> more aesthetically pleasing. Can someone help me out here?
HTML tables don't appear automagically.
Look into explode() or preg_split(). Maybe even fgetscv().
Format the data to HTML
Grtz,
--
Rik Wasmus
[Back to original message]
|