输入banner图图片脚本导航/分类

CodeIgniter之Model查询语句之$this->db->join(

1 语法 : $this-db-join('table2','table2.col1 = table1.col2','join的类型') 其中第三个参数是可选参数,该参数的值有:left,right,outer,inner,left,outer,left outer,right outer 2 使用 : 如果想要在查询中使用多个连接,可以多次调用 $this-db-join(

1 语法

$this->db->join('table2','table2.col1 = table1.col2','join的类型') 其中第三个参数是可选参数,该参数的值有:left,right,outer,inner,left,outer,left outer,right outer

2 使用

如果想要在查询中使用多个连接,可以多次调用 $this->db->join()

3 示例