Welcome Guest, Not a member yet? Register   Sign In
In a plugin I don't have access to database?
#1

[eluser]xcristi[/eluser]
Hello,

My problem is giving me headaches:
I have a plugin placed in application/plugins, called menu_pi.php. From this plugin I need to access my postgresql database. From a model I have no problem. But inside the plugin the code

$this->db->get('meniu'); doesn't work. So I think so, because my site get a blank screen.

My question: plugins cannot access database?

Thanks.
Cristian


Messages In This Thread
In a plugin I don't have access to database? - by El Forum - 08-21-2007, 04:25 AM
In a plugin I don't have access to database? - by El Forum - 08-21-2007, 04:44 AM
In a plugin I don't have access to database? - by El Forum - 08-21-2007, 04:51 AM
In a plugin I don't have access to database? - by El Forum - 02-27-2008, 12:32 AM
In a plugin I don't have access to database? - by El Forum - 02-27-2008, 12:37 AM
In a plugin I don't have access to database? - by El Forum - 02-27-2008, 12:48 AM
In a plugin I don't have access to database? - by El Forum - 02-27-2008, 01:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB