Welcome Guest, Not a member yet? Register   Sign In
How do I get access to the DB-object outside CI?
#8

[eluser]Phil Sturgeon[/eluser]
[quote author="christian studer" date="1257262703"]Thanks everyone for the help, the following piece of code did it:
Code:
require_once BASEPATH.'database/DB'.EXT;
$db = DB();
[/quote]

Ha! Nice hack. I'll be using that.


Messages In This Thread
How do I get access to the DB-object outside CI? - by El Forum - 11-02-2009, 08:47 AM
How do I get access to the DB-object outside CI? - by El Forum - 11-02-2009, 09:10 AM
How do I get access to the DB-object outside CI? - by El Forum - 11-02-2009, 10:06 AM
How do I get access to the DB-object outside CI? - by El Forum - 11-02-2009, 10:30 AM
How do I get access to the DB-object outside CI? - by El Forum - 11-02-2009, 03:16 PM
How do I get access to the DB-object outside CI? - by El Forum - 11-02-2009, 03:55 PM
How do I get access to the DB-object outside CI? - by El Forum - 11-03-2009, 03:38 AM
How do I get access to the DB-object outside CI? - by El Forum - 11-03-2009, 03:56 AM
How do I get access to the DB-object outside CI? - by El Forum - 11-03-2009, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB