If (isset ($ _ POST [submit]) does it mean to determine whether the variable $ _ POST [submit] is configured? If this variable is in the execution of other code, use if (isset ($ _ POST ['submit ']) {
}
Difference between if ($ _ POST [submit])
Use if (isset ($ _ POST ['submit ']) {}Difference between if ($ _ POST [submit]) and if (isset ($ _ POST [submit]) when submitting a formThe first method produces a warning, and the second method is more rigorous.In addition, it is best to add
This should be done with if (Isset ($_post[' submit ')) {
}
difference between if ($_post[submit]) and if (Isset ($_post[submit)) when submitting a form
The first method will show a warning, the second is relatively more rigorous.
There is also
In the chrome browser, isset ($ _ POST ['submit ']) does not return True. it can be successful in IE, but not in chrome. Is it a browser BUG ?, The code is okay. how do you test it. Chrome version ., Go to the gg browser and check if there are any
Can be successful under IE, but not under Chrome, is it a bug in the browser itself?
Reply to discussion (solution)
Paste code to.Chrome is the most respected standard, only to say that your code is not in line with the standards of the place
Chrome browser under Isset ($_post[' submit ') does not return ture
Can be successful under IE, but not under Chrome, is it a bug in the browser itself?
------Solution--------------------
There's no problem with the code, how did you test it? What
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.