Hi,歡迎訪問前端老白
<form action="process.php" method="post"> <select name="color"> <option value="red">Red</option> <option value="blue">Blue</option> </select> <input type="submit" value="Submit"> </form>
$color = $_POST['color'];
if(isset($_POST['color'])) { $color = $_POST['color']; }
$query_string = "color=" . urlencode($color); header("Location: process.php?" . $query_string);
老白網(wǎng)絡 (http://52shenghuonet.cn/) 前端 后端 zblog主題.網(wǎng)站地圖xml