I have made a quiz in flash, also tried the code putting it on the button the script was working but don't kown what happen. i want flash to send my input text data to php. n continue to next slide. and in end when i click on the link that php page gets open but the data is not seen in php.
below is the code which i have put in flash on sumbit
CODE
on (release, keyPress "<Enter>")
{
var myVars:LoadVars = new LoadVars();
myVars.variable1 = "name";
myVars.send("certificate.php","POST");
gotoAndStop(4);
}
"name" is my instance of inputtext.
and this code is written in php :
<?php
// Receiving the variables.
$name = $_POST['name'];
// Printing out the variables.
echo $name;
?>
i don't want the php page to open in middle i want it to open in the end link.
do help me.