Re: Change color of anything in double/single quotes
| From: | Phpster | Date: | Sat, 25 Apr 2009 18:31:49 +0000 |
| Subject: | Re: Change color of anything in double/single quotes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291975@lists.php.net to get a copy of this message | ||
On Apr 25, 2009, at 13:40, Andrew Hucks <andrewphpmail@gmail.com> wrote:
If I have something like $string = '"hello" there'; (the word hello is in double quotes, if you can't see it), how would I output it as something like <font color=color>"hello"</font> there. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpTry Echo "<font color="red">& #34;hello & #34;</font>"; Remove the space between the ampersand and the hash mark Bastien