Doubts ActiveRecord php updates multiples rows - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Doubts ActiveRecord php updates multiples rows (/showthread.php?tid=64229) |
Doubts ActiveRecord php updates multiples rows - arts - 01-29-2016 Hi, i have a problem whit a error: maximum size of arrays in php, $ids has a maximum and i don't know how to resolve it. Array size is limited only by amount of memory your server has. I 'll get out of memory" error and i can't change php.ini PHP Code: function delete_ScormByIdPlataforma($idPlatforma) RE: Doubts ActiveRecord php updates multiples rows - josepostiga - 01-29-2016 HAve you tried to increase your memory limit value? Check this blog article: http://www.ducea.com/2008/02/14/increase-php-memory-limit/ RE: Doubts ActiveRecord php updates multiples rows - sv3tli0 - 01-29-2016 You can try to run full delete sql with where clause.. RE: Doubts ActiveRecord php updates multiples rows - siburny - 01-30-2016 How big is that array? You can try and split the work into batches. |