Visualanté Posted January 11, 2007 Share Posted January 11, 2007 i receive my reply but no variables....whats my problem[b]php code[/b]<?php $TextVariable = '&results='; $response = 'Data Sent. Thank You..'; echo $TextVariable; echo $response; /* recipients */ $recipient .= "my email" ; /* subject */ $subject = "Contact from Site"; /* message */ $message .= "Name: $fname Email: $email Phone: $phoneComments: $party"; /* additional header pieces for errors, From cc's, bcc's, etc */ $headers .= "From: $name <$email>n"; /* and now mail it */ mail($recipient, $subject, $message, $headers); ?>[b]acionscript[/b]on (release) { // logical operator makes sure the textfield is not blank. IndexOf checks for "@" and "." characters in textfieldif (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) { results = "Please check your e-mail address."; } else if (!comments.length) { results = "Please enter your comments."; } else if (!name.length) { results = "Please enter your name."; } else if (!phone.length) { results = "Please enter your phone."; } else { loadVariablesNum ("contact.php", 0, "POST"); results = "Sending Data..."; } } Link to comment https://forums.phpfreaks.com/topic/33685-flash-form-response-problem/ Share on other sites More sharing options...
trq Posted January 11, 2007 Share Posted January 11, 2007 Please be more specific.And use [ code ] [/ code ] tags (without the spaces) to around your code in the forum. Link to comment https://forums.phpfreaks.com/topic/33685-flash-form-response-problem/#findComment-157880 Share on other sites More sharing options...
Visualanté Posted January 11, 2007 Author Share Posted January 11, 2007 sorry, i receive a email reply but my input text boxes from flash data isnt in the email....just the headings all names match...the email sends but with no info from feilds Link to comment https://forums.phpfreaks.com/topic/33685-flash-form-response-problem/#findComment-157889 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.