看板 Web_Design 關於我們 聯絡資訊
<body> <form name="form1" method="post" action="form2.php"> <input type="hidden" name="num1" value=<?echo rand(0,20)?>> <input type="hidden" name="num2" value=<?echo rand(0,20)?>> <input type="text" name="sum"> <input type="submit" name="Submit" value="送出答案"> </form> </body> 這樣就行了。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.67.179.196
evilrabbit:感謝指正 m(_ _)m THANKS 163.13.177.110 06/07
※ 編輯: yanli2 來自: 60.30.118.198 (04/26 15:39)