I have an array(1) { [0]=> array(1) { ["id"]=> string(1) "2" } }
How could break it down to a string as I am only getting one value?
Model:
$table = $this->_table_products_manufacturers;
$query = $this->db->query("SELECT $table.id FROM $table WHERE $table.id = $manufacturer_id");
return $query->result_array();