User Profile

Collapse

Profile Sidebar

Collapse
pixelnate
pixelnate
Last Activity: Oct 24 '06, 04:04 AM
Joined: Oct 24 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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>...
    See more | Go to post

    Leave a comment:


  • pixelnate
    started a topic [SOLVED] Using CSS class to color alternate rows
    in PHP

    [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">...
    See more | Go to post
No activity results to display
Show More
Working...