【发布时间】:2015-09-23 11:16:01
【问题描述】:
我的数据库“employees”、“sign”、“subscription”中有 3 个表,并且我的所有表都具有相同的结构。
可以在一张表中查看我的所有记录吗?
public function index()
{
$this->grocery_crud->set_table('employees');
$output=$this->grocery_crud->render();
$this->grocery_crud->set_table('sign');
$output2=$this->grocery_crud->render();
$this->_example_output($output2);
}
这会生成 2 个表,但我想将所有记录放在一个表中。
对不起我的英语。 感谢您的帮助。
【问题讨论】:
标签: php sql grocery-crud