"; } if ($hasWriteAccess) { $edit_link=""; } if ($hasExecuteAccess) { $delete_link = ""; } $space="   "; $links = $assign_link.$space.$view_link.$space.$edit_link.$space.$delete_link; //$links="
".$links."
"; $data['rows'][] = array( 'id' => $row_ohc['chart_id'], 'cell' => array($count++,$links, $row_ohc['chart_name'], $row_ohc['rule_equation_ids'],$row_ohc['parameter_id'],$row_ohc['checkup_section'],$row_ohc['age_batch_id']) ); error_log("data: ".print_r($data, true)); } $data['rows'][] = array( 'id' => $row['filterkey'], 'cell' => array( '', '', "", "", '', '', '', '', '', '' ) ); echo json_encode($data); ?>