# Load html text from MySQL db

**URL:** <https://forum.kirupa.com/t/load-html-text-from-mysql-db/209149>\
**Category:** Uncategorized\
**Created:** [December 6, 2006, 12:16pm UTC](https://forum.kirupa.com/t/load-html-text-from-mysql-db/209149 "2006-12-06T12:16:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zero\_one1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zero_one1/32/948_2.png) [@zero\_one1](https://forum.kirupa.com/u/zero_one1)\
**Post date:** [December 6, 2006, 12:16pm UTC](https://forum.kirupa.com/t/load-html-text-from-mysql-db/209149/1 "2006-12-06T12:16:56Z")

</div>

Hi,

I’m trying to load some text from a mySQL database. The problem is that when i test the movie from within flash (Ctrl+Enter) the text is loaded, but then when i upload it and view it through browser the text is not loaded.

the site can be seen at [address removed: no longer available]  
and the php file is at [address removed: no longer available] which is echoing out correctly the info.  
last line in php is: \<? print “news\_text=$x”; ?\>  
news\_text is my variable name for flash, $x is the loaded text from the database

in flash i have a dynamic text field with var value _news\_text_ . this text field is place in a movie, and the movie has the following actionscript to load the data:

I have no idea what’s wrong with it as when testing in flash in works fine! any help is appreciated, or other ways of how i can do it.  
thanks
