edit text color and size in echo?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ringartdesign
Forum Newbie
Posts: 21
Joined: Wed Sep 10, 2008 10:11 am

edit text color and size in echo?

Post by ringartdesign »

How can I edit the color and size of my echo statement? FOr some reason this isn't working:

<color=#FF0000>1-800-123-4567</color>

Echo script:
echo "$".$quote."/month</p>
<p>CALL NOW: <color=#FF0000>1-800-123-4567</color><br>
TO TALK TO AN AGENT</p>";
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: edit text color and size in echo?

Post by josh »

umm color is not an html tag and html has nothing to do with the echo command, youre not changing "echos font", youre outputting html, youre generating one language ( html ) using another language ( PHP)
Post Reply