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”, this, “GET”);
}
I know I’m missing something very very obvious.
please help
thanks