I am trying to build a registration function.
I set up the initial form at www.omgma.com/register.htm
This form then activates www.omgma.com/registrn.php where I am echoing the #formvariables out to a table. I ask the user to review the data to make sure it is correct.
I then want to be able to process the registration. I have two things I need to do.
1) email the variables to the organization so they know who is registering.
2) take the user to the 2checkout.com link where I will process their credit card piece.
I set up another file to handle the email named www.omgma.com/process.php
Basically I have:
Register.htm ---> Registrn.php ---> Process.php
Process is sending me the email, but the variables from Register aren't included, just the string lables I created.
This is the mail content line:
$mailcontent = "Member Name: ".$MbrFName." ".$MbrLName."\n";
But for some reason the $MbrFName and $MbrLName aren't passing from the first file to the third file.
How can I pass these variables? Or can I put the script in the second file - maybe make a button call the mail function?
What is the best way to do this?
Thanks!