Home >Web Front-end >HTML Tutorial >The value of name in the select drop-down box cannot be obtained in php100_html/css_WEB-ITnose
feb669b3a7107886ee44361b80dcd0df
157bbac558a7833eedb56b4dcc52ac44
5e70bd20666081d6b971b7c2b7c6c41a
bd5b0de4b21147b22d8a5407a3ceaf1bAdd large category4afa15d3069109ac30911f04c56f3338
703e49eaede404d39352339c95412141Add small category4afa15d3069109ac30911f04c56f3338
18bb6ffaf0152bbe49cd8a3620346341
f5a47148e367a6035fd7a2faa965022e
You didn’t write this together, did you? ? This only works if the form is submitted. Your form here has no action address and no submit button. How do you want it to be obtained?
<form action="test.php" method="post"><select name="f_id"><option value="0">添加大类</option><option value="1">添加小类</option></select><input type = "submit" value = "apply" /></form>