CodeIgniter Forums
Code to test a database connection - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Code to test a database connection (/thread-14444.html)



Code to test a database connection - El Forum - 01-02-2009

[eluser]martillo[/eluser]
Anyone got a simple set of codes that I can use to initialise and test a database connection?

Ta.


Code to test a database connection - El Forum - 01-02-2009

[eluser]Popcorn[/eluser]
Autoload the database library, that will test the connection automatically.


Code to test a database connection - El Forum - 01-02-2009

[eluser]Developer13[/eluser]
User Guide?