一個PHP腳本,作用是將用戶輸入的值存入數(shù)據(jù)庫中,通過表單提交實(shí)現(xiàn),提交后刷新當(dāng)前頁面后會重復(fù)提交數(shù)據(jù),如何解決???
2 回答

大叔_fighting
TA貢獻(xiàn)11條經(jīng)驗(yàn) 獲得超2個贊
<form action=”about:blank” method=”post” onsubmit =”getElementById(‘submitInput').disabled=true;return true;” target=”_blank”>
<input type=”submit” id=”submitInput”/>
</form>
</body>
</html>
</script>?
- 2 回答
- 0 關(guān)注
- 1553 瀏覽
添加回答
舉報
0/150
提交
取消