Jump to content

Need Help For Inserting Drop-Down Select Option


jayzee

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: [email protected]";
mail($email, $subject, $body, $headers);
mail( "[email protected]", " 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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.