I have a script that calculates a number based on user inputs. I am trying to highlight the resulting cell based on the submitted value.
$vartotal is the result when the form is submited <20 is suppose to be highlighed green, >30 Orange and > 34 red. howerver the only one that is working is >34 - Red.
I was hoping someone will see what I am doing wrong.
Question
Laser
I have a script that calculates a number based on user inputs. I am trying to highlight the resulting cell based on the submitted value.
$vartotal is the result when the form is submited <20 is suppose to be highlighed green, >30 Orange and > 34 red. howerver the only one that is working is >34 - Red.
I was hoping someone will see what I am doing wrong.
TIA
The cell that is highlighted
Link to comment
https://www.neowin.net/forum/topic/1156174-php-css-question/Share on other sites
15 answers to this question
Recommended Posts