Model refusing to insert data |
01-12-2021, 09:58 AM
(This post was last modified: 01-12-2021, 02:44 PM by includebeer. Edit Reason: Fixes php code block )
Can you share an image of your UserModel's $allowedFields? As well as the var_dump of the $data from $this->request->getPost()?
Then what is the error when you do this? PHP Code: $userModel = new UserModel(); |
Messages In This Thread |
Model refusing to insert data - by cantinsertdata - 01-06-2021, 10:10 PM
RE: Model refusing to insert data - by berendbotje91 - 01-07-2021, 04:35 AM
RE: Model refusing to insert data - by cantinsertdata - 01-07-2021, 02:05 PM
RE: Model refusing to insert data - by demyr - 01-08-2021, 08:28 AM
RE: Model refusing to insert data - by cantinsertdata - 01-08-2021, 01:12 PM
RE: Model refusing to insert data - by includebeer - 01-09-2021, 07:21 AM
RE: Model refusing to insert data - by cantinsertdata - 01-10-2021, 12:02 AM
RE: Model refusing to insert data - by wdeda - 01-09-2021, 08:00 AM
RE: Model refusing to insert data - by berendbotje91 - 01-11-2021, 12:37 AM
RE: Model refusing to insert data - by cantinsertdata - 01-11-2021, 11:14 AM
RE: Model refusing to insert data - by paulbalandan - 01-12-2021, 09:58 AM
|