Jump to content

Recommended Posts

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>

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.

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

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.