Welcome to WebmasterWorld Guest from 54.146.50.80

Forum Moderators: not2easy

Message Too Old, No Replies

Display ['currentairline'] in RED

     
3:32 pm on Nov 11, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 23, 2012
posts: 91
votes: 0


How do I make currentairline display in RED?

<?php echo htmlentities($post['currentairline']) ?>

Thanks,
Scotty
4:02 pm on Nov 11, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 23, 2012
posts: 91
votes: 0


Got it

<?php echo "<font color=\"red\">".htmlentities($post['currentairline'])."</font>" ?>
2:30 am on Nov 12, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:14261
votes: 553


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.

:)
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members