# Php into swf

**URL:** <https://forum.kirupa.com/t/php-into-swf/209813>\
**Category:** Uncategorized\
**Created:** [December 12, 2006, 5:06pm UTC](https://forum.kirupa.com/t/php-into-swf/209813 "2006-12-12T17:06:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jacob](https://forum.kirupa.com/u/jacob)\
**Post date:** [December 12, 2006, 5:06pm UTC](https://forum.kirupa.com/t/php-into-swf/209813/1 "2006-12-12T17:06:54Z")

</div>

I know this is something very clearly explained in the tutorials, and I have gone over it.  
But I can’t get my php to dump into a dynamic text box correctly.

I have a few lines of regular varchar in a php row.

here is my php:

\<?php

include(‘admin/inc.config.php’);

mysql\_connect($dbhost, $dbuser, $dbpasswd);  
@mysql\_select\_db($dbname) or die( “Unable to select database”);  
$query=“SELECT `description` FROM `Text` WHERE `name`=‘info’”;  
$results=mysql\_query($query);  
mysql\_close();

while($line = mysql\_fetch\_assoc($results)) {  
print “content=$line[“description”]” ;

}

?\>

here is what i have on a dynamic text field with the var name “content”:

onClipEvent (load) {  
loadVariables(“[http://mydomain.com/info.php](http://mydomain.com/info.php)”, this, “GET”);  
}

I know I’m missing something very very obvious.  
please help

thanks
