CI CRUD Model - JOIN Example
Copy this code and paste it in your HTML
<?
(
array('where', 'table.id', 1), array('join', 'second_table', 'second_table.id=table.id'), );
$read = $this->crud_model->read('table', $sql);
?>
Report this snippet
Comments
Subscribe to comments