Exemple #1
0
 public function mark()
 {
     $this->load->model('mark');
     $this->load->library('json');
     $mark = new Mark();
     $query = $mark->getJSONMark(32);
     $results = $query->result_array();
     foreach ($results as $row) {
         $jsonResponse = $row['markData'];
     }
     $this->load->view('marker/mark', array('mark' => $jsonResponse));
 }