- Timestamp:
- Mar 25, 2015 10:25:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/services/controllers/sync.php
r721 r822 15 15 $totalpage = 1; 16 16 17 $d efault= $this->Services_model->getCollaborator(2,1,5000);18 $data = mb_convert_encoding($default, 'UTF-8', 'ISO-8859-1');17 $data = $this->Services_model->getCollaborator(2,1,5000); 18 //$data = mb_convert_encoding($default, 'UTF-8', 'ISO-8859-1'); 19 19 if($data){ 20 20 $xml = simplexml_load_string($data); … … 28 28 29 29 for ($i=1; $i<=$totalpage; $i++){ 30 $ result= $this->Services_model->getCollaborator(2,$i,500);31 $data = mb_convert_encoding($result, 'UTF-8', 'ISO-8859-1');30 $data = $this->Services_model->getCollaborator(2,$i,500); 31 //$data = mb_convert_encoding($result, 'UTF-8', 'ISO-8859-1'); 32 32 if($data && $data != -1){ 33 33 $xml = simplexml_load_string($data);
Note: See TracChangeset
for help on using the changeset viewer.