";
}
if ($hasWriteAccess) {
$edit_link = "";
}
if ($hasExecuteAccess) {
$delete_link = "";
}
$space = " ";
$links = $assign_link . $space . $view_link . $space . $edit_link . $space . $delete_link;
if($row['wellness_program']!=null && $row['wellness_program']!=""){
$wellness_programs= explode(",",$row['wellness_program']);
for($i=0;$i $row['id'],
'cell' => array($count++, $row['abnormality_name'],$wellness_program_name, $links)
);
}
$data['rows'][] = array(
'id' => $row['filterkey'],
'cell' => array('', "", "", '' )
);
echo json_encode($data);
?>