What is the difference between the I() method receiving data and the create() method receiving data in ThinkPHP? ?
What is the difference between the I() method receiving data and the create() method receiving data in ThinkPHP? ?
The I() method will automatically filter html entities. The create method needs to manually call the filter method of the model after automatic creation. Create includes automatic creation of data objects, automatic verification, automatic completion, and field mapping
The data received by create will be verified in the model, but if it is received directly using the I function, it will not be possible. This is one of the points