# Help with Flash Emailform tutorial

**URL:** https://forum.kirupa.com/t/help-with-flash-emailform-tutorial/155960
**Category:** Uncategorized
**Created:** [July 21, 2005, 3:06pm UTC](https://forum.kirupa.com/t/help-with-flash-emailform-tutorial/155960 "2005-07-21T15:06:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jonrhys](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jonrhys](https://forum.kirupa.com/u/Jonrhys)
#### Post date: [July 21, 2005, 3:06pm UTC](https://forum.kirupa.com/t/help-with-flash-emailform-tutorial/155960/1 "2005-07-21T15:06:43Z")

</div>

Hi there,

I have created a flash website and on there I have a contact form in flash. I have configured it so it sends the data to php and to my email which all works fine. The only problem is, I can’t get flash to go to the next frame in order to tell the user that the form has been submitted.

I looked on your tutorial and tried:

[color=#0000d0]onClipEvent[/color]color=#0000ff{[/color] [color=#0000d0]\_root[/color].[color=#0000d0]nextFrame[/color]color=#0000ff[/color]; [color=#0000ff]}[/color] but it didn’t work. I want the MovieClip (that holds the form) to go from frame 80, to 81. Does php automatically respond to flash or do i have to insert a line to get it to respond? My php code is:

\<?php  
$\_GET[‘name’];  
$\_GET[‘company’];  
$\_GET[‘email’];  
$\_GET[‘comments’];

$sendTo = “[jturner@ljmedia.co.uk](mailto:jturner@ljmedia.co.uk)”;  
$subject = “Contact Form”;  
$headers = “From: $\_POST[name]\<$\_POST&gt; Reply-To:$\_POST[email]"; $message = “Name:$\_POST[name] Phone:$\_POST[company] Email:$\_POST[email] Comments:$\_POST[comments]”; mail($sendTo, $subject, $message, $headers); $sendTo = $\_POST[‘email’]; $subject = “Thanks for your email”; $body = “You will receive a reply shortly”; $headers = "From: [email=“info@ljmedia.co.uk”]info@ljmedia.co.uk”;  
mail($sendTo, $subject, $body, $headers);  
?\>

Hope you guys can help. Thanks.
