The following thinkphp framework tutorial column will give you a brief analysis of the differences and usage scenarios of the I() and create() methods in ThinkPHP. I hope it will be helpful to friends in need!
What is the difference between the I() method receiving data and the create() method receiving data in ThinkPHP?
Difference:
The I() method will automatically filter html entities;
Which one is generally used more frequently?
I() function;
create() method, and can complete many functions when creating data, which is convenient and fast.
Recommended study: "The latest 10 thinkphp video tutorials"
The above is the detailed content of A brief analysis of the differences and usage scenarios between I() and create() methods in ThinkPHP. For more information, please follow other related articles on the PHP Chinese website!