This might be how the PHP program is forming the html.
"Noor_nadaf" <webforumsuser@macromedia.com> wrote in message
news:e7od1m$p49$1@forums.macromedia.com...
> 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 ara ) following is the coding
>
> [b]for flash ( in first frame )[/b]
> ---------------------
> 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");
> }
> };
>
> ////////////////////////////////////////////////////////////////////////////////
> /////////////
>
> [b]coding in display.php[/b]
>
> <?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 i do have
> one
> solution or you can say hint
>
> 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="
http://designerden.net/images/logo.jpg" > width="168" height="42" border="0">';
>
> this works but its not work if variable coming from db
> *********************************************
> HELP ME OUT PLEASE
>
>