Hello everyone,
I have created a form which sends the data to a php file and should display what the user filled out.
I think I have everything set up but for some reason my data isn’t showing up on the page.
I also need to have the php file open up in a separate window when the user clicks submit.
Here is the code for my the submit button on the form:
on (release) {
submit.onPress = function () {
getURL (“print.php”, “_blank”, “POST”);
}
}
Here is the php code:
<?php
// Receiving the variables.
$comments = $_POST[‘comments’];
$name = $_POST[‘name’];
// Printing out the variables.
//print "Your name is ". $name . “.”;
echo " “. $comments .” ";
echo " “. $name .” ";
?>
Please take a peek all ye kirupa gods and goddesses and let me know what I am doing wrong.
Thanks!
Joe:ko: