Example #1
0
 function get_address()
 {
     $address = new address($this->user['database'], $_POST['add_id']);
     $row = $address->toArray();
     $data = array("data" => $row);
     echo json_encode($data);
 }