# Urgent helo for dynamic loading into text field

**URL:** <https://forum.kirupa.com/t/urgent-helo-for-dynamic-loading-into-text-field/283335>\
**Category:** flash\
**Created:** [March 5, 2009, 12:43am UTC](https://forum.kirupa.com/t/urgent-helo-for-dynamic-loading-into-text-field/283335 "2009-03-05T00:43:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nade93](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@nade93](https://forum.kirupa.com/u/nade93)\
**Post date:** [March 5, 2009, 12:43am UTC](https://forum.kirupa.com/t/urgent-helo-for-dynamic-loading-into-text-field/283335/1 "2009-03-05T00:43:07Z")

</div>

Hi All

I am using a mehot to drag data from a database (via php) and then insert it into the dynamic text field. This works fine locally, however when i put it onto mysite, none of the text loads. Can any one helpe"

php data looks like this

```auto
$result = mysql_query("SELECT title FROM jos_content WHERE id=46");

$row = mysql_fetch_assoc($result);

echo $row['title'];

```

Actionscript for text looks like this

```auto
var my_xml = new XML ();
my_xml.ignoreWhite = true;
my_xml.load ("http://www.mysite.co.uk/phpdata/titlenews1.php");
my_xml.onLoad = function (success)
{
    if (success)
       titlenewsone_txt.htmlText = this;
}

```

My file is working in actionscript 2 and i am unsure what i have done to make this suddenly a problem. Please please can someone help, its really urgent as have a deadline for 9am!

thanks x
