Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

tinymce span style color not working

$
0
0

hi all

 

I m using tinymce for adding content to my website.

 

also i m using


$detail = mysql_real_escape_string('$detail');

 

When ever i select text and change its colour, tinymce add <span> tag to it with a slash in style attribute.

 

This is what is getting added to my database

 

<p><span style=\"color: #3366ff;\">Feel free to try</span> out the different features that are provided,</p>

 

When i echo it on my detail page


echo $detail;

 

then the style color doesnt get applied on the text.

 

what should i do to echo the text in colored format.

 

vineet

 


Viewing all articles
Browse latest Browse all 13200

Trending Articles