I have a problem i hope someone can help me with.
I created a database with one table. which contains 3 fields
Subject
Grade
Category
i am trying to change the Grade table color if the value is less than 3. I am not sure where to start,
Mark
Posted 19 June 2011 - 03:54 PM
Posted 11 August 2011 - 05:52 AM
<?php if ($Grade < 3) { echo '<tr style="background-color: #F00"'>; } else { echo '<tr>'; ?> ... (rest of code for drawing table)
Edited by AndyMills, 11 August 2011 - 05:52 AM.
0 members, 0 guests, 0 anonymous users