You are here: Re: php formatting help.. « All PHP « IT news, forums, messages
Re: php formatting help..

Posted by Martin Jay on 05/31/06 23:22

In message <3u6s725iea73uj4pfl3eneee4ce3ie0c9u@4ax.com>, Dave Gilmour
<dave.gilmour@comcast.net> writes

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

If all the other sites have a similar format you could put the main part
of the PHP code into a function and call it for each site.

Removing the USGS column is quite simple. Take out

<td>USGS</td>

from the HTML table and

echo "<td>".$column[0]."</td>";

from the PHP.

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

I kept it simple and put a few remarks in that should help you.

If you get stuck you can contact me via email or post here. My email
address is valid.
--
Martin Jay
Phone/SMS: +44 7740 191877
Fax: +44 870 915 2124

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация