Welcome Guest, Not a member yet? Register   Sign In
How to get database configuration variable from within application?
#1

[eluser]gidarren[/eluser]
Hey all, I am trying to get the database prefix I have set so I can make my joins flexible. How can I get the database prefix that I have set? Thanks.
#2

[eluser]gidarren[/eluser]
I have found $this->CI->db->dbprefix, is this correct (I am using it from a hook).
#3

[eluser]InsiteFX[/eluser]
Yes that holds your database prefix.

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB