This is the form for adding pages, look at the sort of that
This is the controller code.
This is the database.
The problem is, what a ghost!!!
I am such a simple form, why inserted, the sort field is not inserted into the table? Look at my controller, whether with the default, or specifically with $_post collected into the insert, are not plugged in, I printed the SQL statement, found that he did not write this field in
I'm really broke, I don't know where it went wrong and that's why
Database, Paixu field, is an int (10), I take this name because the sort is dead or alive I thought it was the keyword, so changed.
Also, the model I did not write, so it is not because of the problem of the model, it is limited to receive a few data of the
Do you have a great God to help you look? Has anyone touched the problem? Thank you, guys.
Reply content:
This is the form for adding pages, look at the sort of that
This is the controller code.
This is the database.
The problem is, what a ghost!!!
I am such a simple form, why inserted, the sort field is not inserted into the table? Look at my controller, whether with the default, or specifically with $_post collected into the insert, are not plugged in, I printed the SQL statement, found that he did not write this field in
I'm really broke, I don't know where it went wrong and that's why
Database, Paixu field, is an int (10), I take this name because the sort is dead or alive I thought it was the keyword, so changed.
Also, the model I did not write, so it is not because of the problem of the model, it is limited to receive a few data of the
Do you have a great God to help you look? Has anyone touched the problem? Thank you, guys.
Tell me about the situation I encountered before, the table added a field, turn off the debug mode form submitted data can not be put into storage, debug back to normal, and then delete the runtime/data/_fields/folder under the database cache file is OK. I do not know if it is the same as my case, the cache is the old data table structure.
Did you not define the Paixu field in your model?