| Display ['currentairline'] in RED
|
Scotty13

msg:4518052 | 3:32 pm on Nov 11, 2012 (gmt 0) | How do I make currentairline display in RED? <?php echo htmlentities($post['currentairline']) ?> Thanks, Scotty
|
Scotty13

msg:4518055 | 4:02 pm on Nov 11, 2012 (gmt 0) | Got it <?php echo "<font color=\"red\">".htmlentities($post['currentairline'])."</font>" ?>
|
lucy24

msg:4518172 | 2:30 am on Nov 12, 2012 (gmt 0) | And when you say "font color = 'red'" you mean, of course, "span class = 'currentairline'" accompanied by appropriate line in the CSS, thereby #1 getting rid of a wildly deprecated formulation and #2 giving yourself the option of highlighting the text in some other way after you discover that some users are interpreting the red text as a warning. :)
|
|
|