Welcome Guest, Not a member yet? Register   Sign In
How to use a database prefix within controllers?
#2

[eluser]Phil Sturgeon[/eluser]
Quite a simple on this.
Code:
// Use
$this->db->dbprefix;

// Example
$this->db->query('SELECT * FROM '.$this->db->dbprefix.$tablename);


Messages In This Thread
How to use a database prefix within controllers? - by El Forum - 10-27-2007, 02:36 PM
How to use a database prefix within controllers? - by El Forum - 10-27-2007, 05:09 PM
How to use a database prefix within controllers? - by El Forum - 10-27-2007, 05:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB