Cannot execute query update with multiple rows - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Cannot execute query update with multiple rows (/showthread.php?tid=79169) |
Cannot execute query update with multiple rows - sfarzoso - 05-03-2021 I'm trying to update multiple rows using this code: PHP Code: $directoryId = $this->request->getPostGet('directory_id'); essentially $where contains this: PHP Code: array(2) { and $directoryId is: 1132 I get: PHP Code: Return value must be of type array, string returned RE: Cannot execute query update with multiple rows - iRedds - 05-03-2021 "oh baby please give a little respect to ..." framework RTFM PHP Code: $userModel |