jayzee Posted December 23, 2012 Share Posted December 23, 2012 I need help for inserting drop-down select option in the below mentioned feedback form. PHP Code <? $name = $_REQUEST['name']; $payment = $_REQUEST['payment']; $designid = $_REQUEST['designid']; $message = $_REQUEST['message']; $phone = $_REQUEST['phone']; $mobile = $_REQUEST['mobile']; $email = $_REQUEST['email']; $subject = "Interglobe Travels - Thank you for your e-mail!"; $body = "Dear $name\n\n Thank You!\n\n We have received your response.\n Please give us 24 Hours to respond.\n\nRegards\nInterglobe Travels"; $headers = "From: myemail@gmail.com"; mail($email, $subject, $body, $headers); mail( "myemail@gmail.com", " Hey $name contacted us via our Website", "Contact Infon\n\nFull Name: $name,\nOrganization: $organization,\nDesignation: $designation,\nMailing Address: $message,\nMobile: $mobile,\nPhone: $phone,\nFax: $fax,\nEmail: $email,\nMailing Address: $message, " , "From: $email" ); header( "Location: tu.html" ); ?> HTML Code <form method="post" action="V019mail31.php"> Name: <br /><input class="text" name="name" type="text" /><br /> Email: <br /><input class="text" name="email" type="text" /><br /> Mobile: <br /><input class="text" name="mobile" type="text" /><br /> I have completed my: <br /><input class="text" name="subject" type="text" value="Your current qualification goes here"/> <br /> I want to Apply for: <br /><input class="text" name="subject" type="text" /> <br /> Message:<br /> <textarea name="message" rows="4" cols="50"> </textarea> <br /> <input type="submit" /> </form> Quote Link to comment Share on other sites More sharing options...
MDCode Posted December 23, 2012 Share Posted December 23, 2012 I'm not sure why you need help creating a drop down? There are literally millions of tutorials on this but here... <select name="dropdown"> <option value="1">1</option> <option value="2">2</option> </select> If you don't even attempt you might as well post in the freelance section. Quote Link to comment Share on other sites More sharing options...
jayzee Posted December 24, 2012 Author Share Posted December 24, 2012 I'm not sure why you need help creating a drop down? There are literally millions of tutorials on this but here... <select name="dropdown"> <option value="1">1</option> <option value="2">2</option> </select> If you don't even attempt you might as well post in the freelance section. I'm not sure why you need help creating a drop down? There are literally millions of tutorials on this but here... <select name="dropdown"> <option value="1">1</option> <option value="2">2</option> </select> If you don't even attempt you might as well post in the freelance section. The dropdown is for a php feedback form where i need to specify a corrrect string to get data from the dropdown. perhaps that was the question if i restate it Quote Link to comment Share on other sites More sharing options...
Jessica Posted December 24, 2012 Share Posted December 24, 2012 There's still not a question. If you are unable to attempt the code, then SocialCloud is correct in suggesting the freelance section. If you have code you have tried to use and are stuck, post that and we can help debug. I suggest reading the links in my signature as well. Quote Link to comment 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.