CodeIgniter Forums
how to run multiple quires codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: how to run multiple quires codeigniter (/showthread.php?tid=69840)



how to run multiple quires codeigniter - MahendarReddy SingiReddy - 01-23-2018

multiple quires run in code igniter


RE: how to run multiple quires codeigniter - InsiteFX - 01-23-2018

Maybe use CodeIgniter transactions...


RE: how to run multiple quires codeigniter - Wouter60 - 01-23-2018

One by one.
Or in a for{} or foreach{} loop.


RE: how to run multiple quires codeigniter - php_rocs - 01-23-2018

@MahendarReddy SingiReddy ,

When you say run multiple queries at once can you be more specific? What is it that you are trying to do?


RE: how to run multiple quires codeigniter - dave friend - 01-23-2018

What kind of queries, select, delete, insert, update, mix-and-match?


RE: how to run multiple quires codeigniter - Paradinight - 01-23-2018

(01-23-2018, 03:43 PM)Wouter60 Wrote: One by one.
Or in a for{} or foreach{} loop.

query in a loop is a bad idea. Smile