Welcome Guest, Not a member yet? Register   Sign In
Opening database connection in file
#1

[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?

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB