# Flash form to display fields in PHP file... NEED HELP!

**URL:** <https://forum.kirupa.com/t/flash-form-to-display-fields-in-php-file-need-help/188995>\
**Category:** flash\
**Created:** [May 12, 2006, 1:27pm UTC](https://forum.kirupa.com/t/flash-form-to-display-fields-in-php-file-need-help/188995 "2006-05-12T13:27:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jak675](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@jak675](https://forum.kirupa.com/u/jak675)\
**Post date:** [May 12, 2006, 1:27pm UTC](https://forum.kirupa.com/t/flash-form-to-display-fields-in-php-file-need-help/188995/1 "2006-05-12T13:27:54Z")

</div>

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:
