I have tried html like this:
<form method="post">
<select id="select" size="2 ">
<option value="3">test</option>
<option value="4">test2</option>
</select>
<button type="submit" value="execute">
</form>
How do I get a 3 or 4 value in the post array
$_POST['select']
?
添加名称标签...
<select id="select" name="select" size="2 ">
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.