So far I have the code that gives me array(1) { [0]=> object(stdClass)#166 (1) { ["id"]=> string(2) "92" }} the following result but what do I have to do to enable me to use it via mysqli_num_rows?
Code:
$query = $this->db->query("SELECT `id` FROM $table WHERE $table.id ='$product_id'");
$result = $query->result();