Re: php formatting help..



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
=----


.



Relevant Pages

  • Re: php formatting help..
    ... I would love to see the PHP file as a learning exercise, ... unable to download it from either of the 2 identical URLs that you supplied. ...
    (alt.php)
  • Re: Downloading disk
    ... "Publisher" ... My computer has Windows XP. ... Is there something I can download quick and easy that will let ... create the *.php file, then your friend was using Microsoft Publishing not ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: force as kml download
    ... > I would like a php file to be a forced download as KML file, ... force it as a download and have the appropiate header. ... And if all else fails: if you use apache you could have an 'pseudo-url' pointing to your php file: ... RewriteEngine On ...
    (alt.php)
  • Re: Apache2 with php - how to get them working together
    ... How do I tell Apache2 to execute it? ... wanted Apache2 to run the .php file. ... Went to the web site: http://www.whatever.com/index.php and Firefox still wants to download the .php file. ...
    (alt.os.linux.suse)
  • Re: Hide the file url to download
    ... "Berislav Lopac" writes: ... > can see is the URL to the PHP file which handles the download. ... Read/write EXIF data | Show current weather | A shell in a browser ...
    (alt.php)