(11-13-2015, 10:37 PM)wolfgang1983 Wrote: (11-13-2015, 08:25 PM)sheng Wrote: case 1 dbprefix='keweilong_';. $this->db->list_tables(true); SHOW TABLES FROM `a2342343` LIKE 'keweilong!_%' no record if query =SHOW TABLES FROM `a2342343` LIKE 'keweilong_%' There are records Cannot under stand what your after question unclear to me.
(11-13-2015, 08:25 PM)sheng Wrote: case 1 dbprefix='keweilong_';. $this->db->list_tables(true); SHOW TABLES FROM `a2342343` LIKE 'keweilong!_%' no record if query =SHOW TABLES FROM `a2342343` LIKE 'keweilong_%' There are records
$record=$this->db->list_tables(true);
$record=$this->db->query('SHOW TABLES FROM `'.$this->db->database.'` LIKE \''.$this->db->dbprefix.'%\' ');
$this->db->dbprefix('keweilong');$record=$this->db->list_tables(true);
(11-14-2015, 05:24 AM)InsiteFX Wrote: Try this: PHP Code:$this->db->dbprefix('keweilong');$record=$this->db->list_tables(true);