Table Output Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a table, where each line is the output of a query from a MySQL 
database.  I do not use borders, so the page is a little difficult to 
read sometimes.  Is it possible, or how do I, alternate the background 
color of each row when I output it?

My code is like this:

while (query) {
	<TR>
		<TD></TD>
	</TR>
}

I am not sure how to output two rows in the same while loop.

Thanks for any help you can offer me.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux