using mysql in codeigniter library
class Dtables {
private $CI;
function __construct()
{
$this->CI =& get_instance();
$this->CI->load->database();
}
function mysql()
{
$sQuery ="//some mysql query string";
$this->CI->db->query($sQuery);
}
}
0 Response to "menggunakan mysql di libraries codeigniter"
Post a Comment