|
楼主 |
发表于 2011-3-2 12:44:51
|
显示全部楼层
回复 3# jeongee
$condition = "select * from company_info where Province = '".$prov."'";
$this->db->where($condition);
$this->db->orderby('Id','dsc');
$query = $this->db->query($condition);
$row = $query->row_array();
$tempstring = "c:/musicdownload/3.txt";
$file=fopen($tempstring,"wb");
fwrite($file,$condition);
$condtion输出的是正常的编码有汉字 并且没有乱码 |
|