"ajax", "id" =>$id ); $obj = new form_clients_contacts($context); $obj->set(); $results = $obj->edit_submit(); $json = json_encode($results); echo $json; ?>