解封 [英] unsetting
问题描述
对于按下提交按钮的测试,我有以下内容:
if(isset($ _ POST [''theSubmitButton''])){
这很好用,我已经做了很长时间了。这是
问题:
如果我提交并让它回到同一页面,一切都很好。如果我现在点击浏览器刷新按钮,我会收到另一个提交。我如何
" unset"
点击刷新按钮后,状态让我不认为我点击了提交按钮?
雪莉
_POST [''theSubmitButton''])){
这很好用,我已经做了很长时间了。这是
问题:
如果我提交并让它回到同一页面,一切都很好。如果我现在点击浏览器刷新按钮,我会收到另一个提交。我如何
" unset"
点击刷新按钮后,状态不会让我觉得我点击了提交按钮?
Shelly
2006年11月13日星期一23:17,Shelly [sh************@asap-consult.com]
在留言中写道< C2 ***************** @ newsread2.news.pas.earthlink。 net>
我对按下提交按钮的测试有以下内容:
if(isset(
_POST [''theSubmitButton''])){
这很好用,我已经做了很长时间了。这是
问题:
如果我提交并让它回到同一页面,一切都很好。如果现在点击浏览器刷新按钮,我将获得另一个提交。我如何
" unset"状态,以便当我点击刷新按钮时,我不认为我点击了提交按钮
?
Dunno,作为PHP的相对新手,但是快速谷歌提出了这个
链接 - http://uk.php.net/isset
这有帮助吗?
I have the following for a test of the submit button being pressed:
if (isset($_POST[''theSubmitButton''])) {
This works fine and I have been doing this for a long time. Here is the
question:
If I do a submit and have it come back to the same page, all is fine. If I
now click the browser refresh button, I get another submittal. How do I
"unset" the status so that it doesn''t think I clicked the submit button when
I click the refresh button?
Shelly
_POST[''theSubmitButton''])) {
This works fine and I have been doing this for a long time. Here is the
question:
If I do a submit and have it come back to the same page, all is fine. If I
now click the browser refresh button, I get another submittal. How do I
"unset" the status so that it doesn''t think I clicked the submit button when
I click the refresh button?
Shelly
On Monday 13 November 2006 23:17, Shelly [sh************@asap-consult.com]
wrote in message <C2*****************@newsread2.news.pas.earthlink. net>
I have the following for a test of the submit button being pressed:
if (isset(
_POST[''theSubmitButton''])) {
This works fine and I have been doing this for a long time. Here is the
question:
If I do a submit and have it come back to the same page, all is fine. If
I
now click the browser refresh button, I get another submittal. How do I
"unset" the status so that it doesn''t think I clicked the submit button
when I click the refresh button?Dunno, being a relative newbie to PHP, but a quick Google brings up this
link - http://uk.php.net/isset
Does that help?
这篇关于解封的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!