[eluser]Unknown[/eluser]
I have a script that isn't a class and isn't a function. How do I open up a database connection in this file? I would normally just do $this->load->database(); but as it isn't a class I can't do this. Does anyone know how to do it?