Jump to content

select html tag and php


cemzafer

Recommended Posts

so you have a form with the following

<select name='myselect'>
<option value='a'>Option A</option>
<option value='b'>Option B</option>
</select>

This is the same as all form fields

If your using Form Method='post'
then you use
$_POST["myselect"];
Else
You use
$_GET["myselect"];

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.