>Been working on trying to get form submission to work. > >Now have it so when click enter it e-mails me, but there is no text >subitted in the e-mail > >Any ideas? ><? >$MailToAddress = "[EMAIL PROTECTED]"; >$MailSubject = "Group volunteer list"; >if (!$MailFromAddress) { > $MailFromAddress = "$email"; > } >$Header = ""; >$Footer = ""; >
var_dump($_POST); reset($_POST); echo "_POST isset? ", isset($_POST), "<BR>\n"; >foreach($_POST as $key => $val) > { > $val = stripslashes($val); > $Message .= "$key = $val\n"; > } > >if ($Header) { >$Message = $Header."\n\n".$Message; >} > >if ($Footer) { >$Message .= "\n\n".$Footer; >} > >mail($MailToAddress, $MailSubject, $Message, "From: >{$MailFromAddress}"); ?> > -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php