tony 

if you want it to be printed  inside the table it has
to be INSIDE the table inside a ROW and a COLUMN

just like you have done with all other tr and td

echo("<tr><td>" . $current . "</td></tr>");



godd luck

toby ....


 --- Anthony Ritter <[EMAIL PROTECTED]>
wrote: > I'd like to have the record data - $current -
> *within* the html table but if
> I run this script it is on a line outside of the
> table:
> ....................................
> <?
> $content =
>
file("http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no=01427
> 510");
> 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("</table>");
> print($current);
> ?>
> ...............................
> 
> ...and if I run this script, the record - $current -
> is outside above the
> table - not within it.
> 
> <?
> $content =
>
file("http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no=01427
> 510");
> 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>");
> ?>
> .................................
> 
> Any help would be greatly appreciated.
> Tony Ritter
> 
> 
> 
> 
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to