# PHP e-mail form help

**URL:** <https://forum.kirupa.com/t/php-e-mail-form-help/101753>\
**Category:** Uncategorized\
**Created:** [February 13, 2004, 1:46pm UTC](https://forum.kirupa.com/t/php-e-mail-form-help/101753 "2004-02-13T13:46:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![opel](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/opel/32/199_2.png) [@opel](https://forum.kirupa.com/u/opel)\
**Post date:** [February 13, 2004, 1:46pm UTC](https://forum.kirupa.com/t/php-e-mail-form-help/101753/1 "2004-02-13T13:46:21Z")

</div>

I’ve been following Vash’s php form tutorial part two. How do I alter the actionscript for the button so that when I press it jumps to a “completed” section. This will llet the user know the form has been sent successfully.

At the moment I have;

[AS]submit.onRelease = function(){  
loadvaribles ("mail.php, 0, “POST”);  
}  
if (??? == ???) {  
gotoAndStop(“completed”);  
}[/AS]

??? is the bit I don’t know
