Re: php formatting help..



In message <4uop72d4p2slhbgp0n3vdbg7q0594k7393@xxxxxxx>, Dave Gilmour
<dave.gilmour@xxxxxxxxxxx> writes
Hey everyone... I'm looking for some help here.

this is my code:

<?
$content
=file("http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no
=01427510");
array_pop($content);
$current = array_pop($content);
print("<table border=1>");
print("<tr><td>USGS</td><td>Station</td><td>Date</td><td>Time</td><td>Height
</td><td>CFS</td><td>Temperature</td>");
print($current);
print("</table>");
?>

link to actual output:
http://www.njflyfishing.com/usgstst3.php

Hmmm, it doesn't display very much. :(

My question is this. I'd like to format that information so it looks
more aesthetically pleasing. Can someone help me out here?

I've made a few changes and uploaded them here:
<http://www.spam-free.org.uk/pages/geo_sur.php>

You can download the source from:
<http://www.spam-free.org.uk/pages/geo_sur.php>

Although you may not like my choice of colours. :)
--
Martin Jay
Phone/SMS: +44 7740 191877
Fax: +44 870 915 2124
.