Jump to content

background colors on display pages


kevincro

Recommended Posts

Is it possible to display table data using a while loop, yet have each output row with a certain bg color depending on a value within that row.  For instance, if I'm dislaying the incomes of various businesses, I want to show the business with a positive income with a green background, and the business with a negative income with a red background.  Is this possible?

Link to comment
https://forums.phpfreaks.com/topic/74526-background-colors-on-display-pages/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.