我有一个array(1) { [0]=> array(1) { ["id"]=> string(1) "2" } }
我只得到一个值,怎么能把它分解成一个字符串?
模型:
$table = $this->_table_products_manufacturers;
$query = $this->db->query("SELECT $table.id FROM $table WHERE $table.id = $manufacturer_id");
return $query->result_array();