Code: Select all
<select name="array[]" value="a">First</select>
<select name="array[]" value="ab">First2</select>
<select name="array[]" value="abc">First3</select>
<a href="prelucrate.php">Your selected values</a>
Code: Select all
<select name="array[]" value="a">First</select>
<select name="array[]" value="ab">First2</select>
<select name="array[]" value="abc">First3</select>
<a href="prelucrate.php">Your selected values</a>
Code: Select all
<form action="prelucrate.php" method="post">
<select name="some_name">
<option value="a">First1</option>
<option value="ab">First2</option>
<option value="abc">First3</option>
</select>
<input type="submit" value="send" />
</form>
Code: Select all
$vr_name = isset($_POST['some_name']) ? $_POST['some_name'] :'';
echo $vr_name;