First of all, let's take a look at the figure. it indicates that this is tp2.0 in advance, so I have written the following manuals. it should be correct. Question 1: print the POST data, it can be printed out. Is it because the form can be correctly submitted? 2: I am using the add method, that is, it cannot be inserted. it is...
First of all, let's take a look at the figure. it indicates that this is from tp2.0 in advance, so I have written all the following manuals. it should be correct.
Such a few tricks
1: printing POST data can be printed out. Is it because the form can be correctly submitted?
2: I used the add method, but I cannot insert it. why? I printed the statement. The statement is like this !!!
Why? I completely follow the instructions in the manual.
3: only the auto-increment id and the default sort of the 0int type are inserted.
I can only use this method to add it. The problem is that this is not a solution, and verification is troublesome. I just want to use the normal create
An expert !!!
Reply content:
First of all, let's take a look at the figure. it indicates that this is from tp2.0 in advance, so I have written all the following manuals. it should be correct.
Such a few tricks
1: printing POST data can be printed out. Is it because the form can be correctly submitted?
2: I used the add method, but I cannot insert it. why? I printed the statement. The statement is like this !!!
Why? I completely follow the instructions in the manual.
3: only the auto-increment id and the default sort of the 0int type are inserted.
I can only use this method to add it. The problem is that this is not a solution, and verification is troublesome. I just want to use the normal create
An expert !!!
The data method seems to contain parameter Filtering. check whether the data model cache is not updated. Otherwise, try to use add directly.
$ Data ['image'] = $ _ POST ['image'];?