Re: php formatting help..
- From: "KiwiBrian" <briantoz@xxxxxxxxxx>
- Date: Thu, 1 Jun 2006 15:05:08 +1200
Hi Dave
I would love to see the PHP file as a learning exercise, but have been
unable to download it from either of the 2 identical URLs that you supplied.
Was the second one meant to be different?
Any chance that you could email it to me, or give another URL, or am I
missing some information?
Thanks
Brian Tozer
Email address is correct.
"Dave Gilmour" <dave.gilmour@xxxxxxxxxxx> wrote in message
news:3u6s725iea73uj4pfl3eneee4ce3ie0c9u@xxxxxxxxxx
Jay,
This is really great and I will use it. One question for you
though... There are about 10 sites that I would like to have on 1
table like the one you made. I'd like to get rid of the USGS column.
Where would you suggest I start to figure out how to do this? I'd
like to experiment a little bit with the code you've supplied and
maybe try to add a little more. I'm not a programmer, but I'm going
to try to figure out what each line I don't understand does.
Thanks for your help, this is very close to what I was looking for.
Since I have a little while to spare, I'll go ahead and toy around
with this for a while.
Thanks again!
On Wed, 31 May 2006 15:05:36 +0100, Martin Jay
<martin@xxxxxxxxxxxxxxxx> wrote:
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. :)
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption
=----
.
- Follow-Ups:
- Re: php formatting help..
- From: Martin Jay
- Re: php formatting help..
- References:
- Re: php formatting help..
- From: Dave Gilmour
- Re: php formatting help..
- Prev by Date: Opening a pdf file
- Next by Date: Re: php formatting help..
- Previous by thread: Re: php formatting help..
- Next by thread: Re: php formatting help..
- Index(es):
Relevant Pages
|