PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
When using alternating colors in tables I generally use CSS and simply have the row with class="table_rowx" or some such where the x is 1 or 2. I do this as color can change on a regular basis and I do not like rather than hardcoding the colour in PHP.
CoderGoblin wrote:When using alternating colors in tables I generally use CSS and simply have the row with class="table_rowx" or some such where the x is 1 or 2. I do this as color can change on a regular basis and I do not like rather than hardcoding the colour in PHP.