Hi Guys Looking for some HTML help here. I have a table with the following code. <div id="signuptable"> <div id="signuptable-top"> <h2><span>SIGN UP NOW-</span> Get UB Rakeback Now</h2> </div> <div id="signuptable-yellowtop"> <h2>IMPORTANT: You must use bonus code: BESTUB30 and complete step 2!</h2> </div> <div id="signuptable-content"> <div id="signuptable-left"> <h3><span>Step</span> 1</h3> <p class="get-your-rakeback-now"><a href=""><img src="http://www.bestrakebacksite.org/wp-content/uploads/2011/01/getyourrakebacknow.png" border="0"/></a></p> <ul> <li><span>!</span> Use bonus code: <a href="#">BESTUB30</a></li> <li><span>!</span> You MUST complete step 2 for confirmation</li> </ul> </div> <div id="signuptable-left"> <h3><span>Step</span> 2</h3> <ul> <li>Needed to set up your rakeback payment</li> <li><h4>Alias:</h4><input type="text" class="signupinput" value="" name="alias"/></li> <li><h4>Email:</h4><input type="text" class="signupinput" value="" name="email"/></li> </ul> <input type="submit" value="" name="signup-submit" class="signup-submit"/> </div> <div id="signuptable-left"> <h3><span>Step</span> 3</h3> <ul> <li>Create a members area account for VIP offers, cashout options, your perdonal landing page and more.</li> </ul> <input type="submit" value="" name="register-account" class="register-account" onClick="location.href='http://members.bestrakebacksite.org/eng/my_account/register'"/> </div> </div> </div> Code (markup): For those interested, the tabel looks like My Site I am looking for the details in step 2 to be submitted to an email address and then be redirected straight back to the site for the user to complete step 3. How do i implement this into the code? I realize I will probably need a .php script for the submission so has anyone any recommendations on one? Thanks for reading
HEllo i want to know how to submit form to email so that one can received all form infromation in email , if u have seen Contact pages, inquiery pages in website same as i want. Either in PHP or ASP
http://www.w3schools.com/php/php_mail.asp Few ways of doing this, put the code for emailing step 2 on the step 3 page to process the form on the previous page which of course has the form action set to the step 3 page, or you could simply use the same page and php to echo the different parts of the form depending what the user has submitted.
Hi, thanks for the reply. I mean, I would like the user to submit the info in step 2 and then be redirected back to the page. Step 3 does not need the step 2 info to be completed. So I assume it will be a basic html refresh that will redirect back to the page. Say I have contact.php . Who would I edit the code a above to call that .php file when the user submits the information in step 2?
Simply set the action of the form to the page you want the user to be redirected to, so if you want the user to be redirected to contact.php, set the form code to: <form action="contact.php" etc> Code (markup): Then of course the script for handling the form is on contact.php. Is this making sense at all?