Nevermind. I found out a useful tip at the Practical Web Design mag site, and deduced the rest for myself.
Fixed code:
=============== ====
// Table header.
echo '<table align="center" cellspacing="0" cellpadding="5" border="0">
<tr>
<td align="left"><s trong>Edit</strong></td>
<td align="left"><s trong>Delete</strong></td>...
User Profile
Collapse
-
[SOLVED] Using CSS class to color alternate rows
I am trying to use a CSS class called "evens" to color the background of alternate rows of a dynamic table. The foreach statement is preventing the data from being displayed at all. If I take it out, I have no problem generating the table. What is the proper way to do this?
=============== ======
// Table header.
echo '<table align="center" cellspacing="0" cellpadding="5" border="0">...
No activity results to display
Show More
Leave a comment: