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.
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. ''; }}?>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now