# Error message on send button

**URL:** https://forum.kirupa.com/t/error-message-on-send-button/225765
**Category:** Uncategorized
**Created:** [May 15, 2007, 2:48pm UTC](https://forum.kirupa.com/t/error-message-on-send-button/225765 "2007-05-15T14:48:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sunshine1084](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@sunshine1084](https://forum.kirupa.com/u/sunshine1084)
#### Post date: [May 15, 2007, 2:48pm UTC](https://forum.kirupa.com/t/error-message-on-send-button/225765/1 "2007-05-15T14:48:45Z")

</div>

Hi, I’m doing a PHP form for the first time and used a kirupa tut to do it…i added the code as stated on the send button…and then this is the message that comes up:

**Error** Scene=contact, layer=Layer 5, frame=15:Line 1: Statement must appear within on handler  
form.loadVariables(“email.php”, “POST”);  
Total ActionScript Errors: 1 Reported Errors: 1

if anyone knows what this means or how i can fix it…please let me know. thanks.
