Hi guys, I’ve a question, I need to build a really simple php document and send the variables to flash, I’m following a simple tutorial where
PHP document:
<?php
//Variable
$VariableName = "johnmartin es mi nombre";
//Print Variable
print("Output Value=" . $VariableName);
?>
Flash Document:
var a = new LoadVars();
a.load("Myphp.php");
a.onLoad = function() {
texto_txt.text = this.VariableName;
};
Now, the thing is, I’m using dreamweaver to retrieve data from a MySQL database, the way dreamweaver calls this is using this type of variables:
<?php echo $row_rsContacts['VariableName']; ?>
If in the flash I place
VariableName doesn’t work,
if I place #VariableName doesn’t work
if I place $row_rsContacts[‘VariableName’] doesn’t work,
it says, undefined, so, what am I doing wrong?
Thanks a lot!
A.-