hi can some one help me to get solution for this problem
i am making one small cms system which is updating flash content , everything is done and working properly but image tag is not getting display in text area ( image is not comming in text area ) following is the coding
for flash ( in first frame )
loadVarsText = new LoadVars();
loadVarsText.load(“admin/display.php?pagename=aboutus”);
loadVarsText.onLoad = function(success) {
if (success) {
trace(“done loading”);
_root.az.scroller.htmlText = this.content1;
} else {
trace(“not loaded”);
}
};
/////////////////////////////////////////////////////////////////////////////////////////////
coding in display.php
<?php
include"connect.php";
$qry=“select * from content where pagename =’$pagename’”;
$res = mysql_query($qry) or die($qry.mysql_error());
$res_arr = mysql_fetch_array($res);
$content = $res_arr[“contents”];
//print “content1=$content”;
echo “content1=$content”;
?>
///////////////////////////////////////////////////////////////////////////////////////
now its working perfect its showing perfect html content in flash even its going well in databse but in text area of falsh its not showing the image or image tag , i do have one solution
if we give value in flash itself then its shoing but its not showing when variable coming from db
following is code for this
myTextField.htmlText = ‘<img src="[COLOR=#0000ff]http://designerden.net/images/logo.jpg"[/COLOR] width=“168” height=“42” border=“0”>’;
this works but its not work if variable coming from db
HELP ME OUT PLEASE