How to update multiple or single row in single query using where multiple or single i - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Model-View-Controller (https://forum.codeigniter.com/forumdisplay.php?fid=10) +--- Thread: How to update multiple or single row in single query using where multiple or single i (/showthread.php?tid=79091) |
How to update multiple or single row in single query using where multiple or single i - edgematrix - 04-19-2021 I want to update multiple or single row in database in one query where multiple ids or single id post from the form. I couldn't find it works in update batch. I don't know how to do it. I have already searched on google on how to make it but I have no luck. Your answer is very much appreciated. Html & AJAX Code Code: <form class="form-horizontal" enctype="multipart/form-data" method="POST"> Controller PHP Code: public function insert_leads_in_groups() Error Quote: RE: How to update multiple or single row in single query using where multiple or single i - demyr - 04-19-2021 Would this solution help you? |