You are here: How to format every secound row in a database result « PHP « IT news, forums, messages
How to format every secound row in a database result

Posted by Georg on 03/30/05 18:05

Hi!

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

Hope to hear from anyone with experience in similar matters...

TIA! Georg Herland, Norway

 

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

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