Replies: 1 comment 2 replies
-
There's no issue on CI3. Maybe you have an issue on your code. Or on your data. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hello everyone i,m using php,s codeigniter framework I want retrieve database file image but always return null value please fix this issue
`
public function getOrder($id)
{
$this->db->select('i.*, p.image, p.productname, p.price');
$this->db->from($this->ordItemsTable . ' as i');
$this->db->join($this->proTable . ' as p', 'p.id = i.product_id', 'left');
$this->db->where('i.order_id', $id);
$query2 = $this->db->get();
$result['items'] = ($query2->num_rows() > 0) ? $query2->result_array() : array();
} ?>
`
Beta Was this translation helpful? Give feedback.
All reactions