2017-05-27 195 views
0

我不是用PHP絲毫經歷,但這種形式應該從頁面發送信息,你選擇它的另一頁:爲什麼不將此表單數據發送到下一頁?

<form name="form1" method="post" action="nextpage.php"> 
    <select name="form"> 
    <option value="bike">BMX 3000</option> 
    </select> 
    <input type="submit"> 
</form> 

下一個頁面有驗證碼:

<html> 
    <body> 
     <center>You selected <?php echo $_POST['form']; ?></center> 
    </body> 
</html> 

會喜歡一些幫助!

+0

只''