Welcome Guest, Not a member yet? Register   Sign In
Use custom SQL singleton in controller
#1

[eluser]Unknown[/eluser]
Hey,

I want to use a custom SQL singleton like

Code:
$sql = new mysqli();
because I've dynamic SQL connection informations so I can't use the built-in-groups-sql functions.

Any idea ?

Thanks
#2

[eluser]CroNiX[/eluser]
You can manually connect.
https://ellislab.com/codeigniter/user-gu...cting.html




Theme © iAndrew 2016 - Forum software by © MyBB