Reply to Re: help formatting table output columns

Your name:

Reply:


Posted by Geoff Berrow on 12/27/06 00:02

Message-ID: <98A5A9F1Akarlcsueduco@216.196.97.136> from Jeremy contained
the following:

> I'm kind of new to php - I assume
>what I need to do is set some kind of counter starting at a value of 1 at
>which point I create the opening <tr> tag. Then I increment the counter by
>1 and every time it gets to 3 I make the closing </tr> tag and reset back
>to 1?

Yes, or you could use the modulus operator
http://uk2.php.net/operators.arithmetic

--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

[Back to original 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

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