Reply to Re: [PHP] How to format every secound row in a database result

Your name:

Reply:


Posted by Leif Gregory on 03/30/05 20:54

Hello Georg,

Wednesday, March 30, 2005, 8:05:30 AM, you wrote:
G> I wish to format the output of a database select. The result is
G> presented in a table, in which i'd like to present everey secound
G> row with a different background color. My idea was to test if the
G> remaining number of rows where a prime number or not, and by that
G> determent if the background color should be white or som ivory-like
G> color to improve the readability in the result table...

http://www.devtek.org/tutorials/alternate_row_colors.php





--
Leif (TB lists moderator and fellow end user).

Using The Bat! 3.0.9.9 Return (pre-beta) under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB

[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

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