Seba123 Posted July 29, 2008 Share Posted July 29, 2008 Hi I am currently editing a previous persons PHP file. They have created an online form using the $POST method and mime mail so that the information can be inserted into an email. However I need the email with the information to be opened in a printable web page when the link is clicked and have all the entered information to transfer over to the web page as well. I dont know if this makes any sense but I am on a time constraint and need to get this figured out as soon as possible! Below is the initial form: <form id="trialsignup" name="trialsignup" method="post" enctype="multipart/form-data" action="thankyou.php"> <p> </p> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="5"> <tr> <td width="31%" align="right" valign="middle" nowrap="nowrap">* First Name: </td> <td width="69%" align="left" valign="middle"><input name="first_name" type="text" id="first_name" size="45" maxlength="55"></td> </tr> <tr> <td align="right" valign="middle" nowrap="nowrap">*Last Name: </td> <td align="left" valign="middle"><input name="last_name" type="text" id="last_name" size="45" maxlength="55"></td> </tr> There are also more fields but to many to include. Please help! Quote Link to comment https://forums.phpfreaks.com/topic/117200-_post-form-using-mime-mail/ Share on other sites More sharing options...
.josh Posted July 29, 2008 Share Posted July 29, 2008 Okay if I read that right, all you need to do is in your thankyou.php just echo the vars out. Quote Link to comment https://forums.phpfreaks.com/topic/117200-_post-form-using-mime-mail/#findComment-602866 Share on other sites More sharing options...
Seba123 Posted July 29, 2008 Author Share Posted July 29, 2008 Actually after the user clicks on submit the page goes to the a Thank you page which is just static text. However the information is pulled into an email which is sent to the person filling out the form. I need to also pull the information into a seperate web page. The page is still in the same folder with the index file and php coding but is a seperate file. I have tried using <?php echo $_POST[r_first_name]; ?> To recieve the information in the seperate web page link but not only does the information not show up but neither does the image which is suppose to be below the layer. will $_REQUEST work? I basically need to be able to pull the information the user enters into an email which works now and a seperate web page which is not connected to the index page. This is the part I am running into issues with. Quote Link to comment https://forums.phpfreaks.com/topic/117200-_post-form-using-mime-mail/#findComment-602871 Share on other sites More sharing options...
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.