# Flash from problem

**URL:** https://forum.kirupa.com/t/flash-from-problem/92600
**Category:** Uncategorized
**Created:** [October 19, 2003, 10:47am UTC](https://forum.kirupa.com/t/flash-from-problem/92600 "2003-10-19T10:47:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dreamer](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@dreamer](https://forum.kirupa.com/u/dreamer)
#### Post date: [October 19, 2003, 10:47am UTC](https://forum.kirupa.com/t/flash-from-problem/92600/1 "2003-10-19T10:47:14Z")

</div>

I have made a form…

and on the submit button i added this code:  
on (release) {  
if (name eq “” || contact eq “” || title eq “” || message eq “” ) {  
info = “Please fill in all fields”;  
stop();  
} else {  
loadVariablesNum(“send.php”, 0, “POST”);  
nextFrame();  
name = “”;  
contact = “”;  
title = “”;  
message = “”;  
info = “”;  
}  
}

The send.php file is like:  
\<?  
$headers = “From: $name”;  
mail("dh@designers-hub.com", “$headers”, “$title”, “$contact”, “$message”);  
?\>

For some reason when it sends it doesn;t send the $message…

Can you fix this or do you know a better code?
