|
Posted by ana on 04/25/07 09:04
I'm not very good programer, I use one php script for cms for flash.
When I make changes in text in this CMS, for example I put letters bold,
this script puts <strong></strong> on beginning and the end, but I need
<b></b> so I use str_replace to replace strong with b, and this is ok.
But when I change a color, this script puts for example <font color=#CCCCCC>
in front of letters but I need <font color="#CCCCCC"> because Flash won't
read it without quotes. And I can't say str_replace #CCCCCC with "#CCCCCC"
because I don't know wich color the person will choose.
Please if you have some idea help me!
Navigation:
[Reply to this message]
|