Models insert() and save() methods return "unknown error" but the query builder works |
I'm trying to get user creation functionality working on a signup page. When the form is submitted I use either
Code: $user->insert($data) Code: $user->save($data) Code: $user->error() If I try to insert the same date using the Query Builder then it works correctly. Am I using the model class incorrectly? Here is my code for the method: PHP Code: public function create() |
Messages In This Thread |
Models insert() and save() methods return "unknown error" but the query builder works - by Polymorphism - 06-10-2021, 08:24 AM
RE: Models insert() and save() methods return "unknown error" but the query builder works - by paliz - 06-11-2021, 10:15 AM
|