Forum Moderators: coopster

Message Too Old, No Replies

echoing with font styles and colors

         

Kysmiley

5:27 pm on Dec 14, 2004 (gmt 0)

10+ Year Member



I have seen this many times but now that i need it i cant find what i need. I have an <? echo $error_msg:?> that i would like to make the font red, i just dont remember how to set this up so it displays the font as I want it
Pat

jezra

5:36 pm on Dec 14, 2004 (gmt 0)

10+ Year Member



the easiest way would be to add the html to the echo string.
<? echo "<font color='red'>$error_msg</font>";?>

Kysmiley

5:48 pm on Dec 14, 2004 (gmt 0)

10+ Year Member



Thanks I could not for the life of me remember how to do that.