Problems with custom configuration development/database.php
永生
永生 2018-08-11 14:02:47
0
0
1100

public function detail($id){


## // Load the grouping configuration of the database

$this->load->database( 'default');

//Select table

$this->db->from('article');

Problems with custom configuration development/ database.php, this is in the model, can it be loaded automatically? If you want to load the default database.php, isn't this a conflict? Custom configuration failed! Please advise! grateful

永生
永生

reply all (0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!