![]() |
How to Switch Database Connection Mysqli or Postgres ?? - 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: How to Switch Database Connection Mysqli or Postgres ?? (/showthread.php?tid=75047) |
How to Switch Database Connection Mysqli or Postgres ?? - Geetha - 12-13-2019 Hi, I need to Connect Mysqli Or Postgres in Database Connection.I need to Connect Both are default Option how done ?? We can find driver When query loaded ?? For Example : Code: if($db_driver == 'mysqli') Is it possible to do like above or any other option to run both database connect in Default database. Please Give me solution for my problem. RE: How to Switch Database Connection Mysqli or Postgres ?? - durairaj - 12-13-2019 (12-13-2019, 02:53 AM)Geetha Wrote: Hi, RE: How to Switch Database Connection Mysqli or Postgres ?? - Geetha - 12-15-2019 Thanq for your reply |