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])
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
1. The _ get and _ set methods are designed for attributes that are not declared in the class and their parent class: __get ($ property) this method is called when an undefined property is called; __ set ($ property, $ value) assigns & amp; 20540 to
: This article mainly introduces php programming notes. if you are interested in PHP tutorials, please refer to them. Three methods for php to obtain POST data
Php image watermarking source code
Php + ajax + json is the simplest example.
Php Chinese
: This article mainly introduces the differences between empty and isset. For more information about PHP tutorials, see. I believe that as a newbie, every time we use empty () and isset (), we will have the following questions: What is the
Pre-used JS form to prevent duplicate submission method
The code is as follows
Copy Code
The following three methods are called separately
so if I make a form directly, and then submit it to/test, the above
Php programming notes-three methods for obtaining POST data from small_123 php
Php image watermarking source code
Php + ajax + json is the simplest example.
Php Chinese character to pinyin source code
Php traverses the Directory, generates the md5
Three ways to get post data from PHP
PHP image plus watermark source code
One of the simplest examples of Php+ajax+json
PHP Chinese Pinyin Source code
PHP iterates through directories, generates MD5 values for each file in the directory, and writes
We believe that as a novice, each time we use empty () and isset (), there will be such doubts: what is the difference between the two? When do I need to use empty ()? When to use Isset ()? Today I'll talk to you about the difference between the two
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.