SHOW:
|
|
- or go back to the newest paste.
1 | function get_cirle() | |
2 | { | |
3 | $test = $this->db->query("select receive_type, pengunjung from tbl_circle"); | |
4 | $receive_type=array(); | |
5 | $pengunjung=array(); | |
6 | while ($data=mysql_fetch_array($test)){ | |
7 | { | |
8 | - | ['$data['receive_type']',(int)$data["pengunjung"]], |
8 | + | echo "['".$data['receive_type']."',".(int)$data["pengunjung"]."],"; |
9 | } | |
10 | return $data; | |
11 | } |