Expensive;
I have an html page that brings three information from the Mysql Database (
HIGH, Medium and Low). I just wanted the word
HIGH was in red, Medium in Orange and Low in Blue. I tried to do via PHP with Swicth Case, but without success. Since I do not know anything about Jquery, I wanted to have an idea and / or help from you guys to do it. I searched the Internet a lot, but without success. HTML part example:
<td><font size='1'><div id=add9 align=middle style='color: XXX ' > HIGH<td>
I do not know if there is some Pluguin in Jquery, which scans the div, finds the text and by means of the text it changes the color of it.
Example of my table:
$row['subject']."</td><td>"."<font size='1'>"."<div id='div_result' align='middle'>".
$row['score']."</div>"."<td><a href=delete.php?id=".