一个添加数据按钮,多次点,页面弹出添加失败,而实际上数据以经添加了。
请问这一种问题怎么处理一下,
是让他们不重复提交表单,
还是怎么做一下,
还请详细一点。
------解决方案--------------------
很简单,看例子
只要用戶第一次提交過之後form的action就变为#了,这样就不能第二次提交了.
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn