dms Posted February 22, 2010 Report Posted February 22, 2010 I'm having trouble capturing the values from a form. I need to both; echo and send emails. Quote
dms Posted February 22, 2010 Author Report Posted February 22, 2010 <?php$senders_email = $_GET['senders_email'];$email='';$n='';if (!isset($_GET['submit'])) { $output_form = true; }/* .....................................................................FORM STARTS HERE */if ($output_form = true){?>PartyTime.... Complete the form to send invitations. My email address: Type a name and email for each invitation to send. Email <?php}/* ......................................................................................FORM ENDS */?><?php/* === this is where I'm lost. I can not capture the values, whether to echo or mail. === */if ((!empty($senders_email)) && (isset($_GET['submit']))){ for ($n=1; $n<=10; $n++) { $email. $n=$_GET["email$n"]; $temp='email$n'; echo $$temp. ''; }}?> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.