"; $delete_link=""; } $view_link=""; //} //if($access_level=='W' || $access_level=='E' ) //{ //} //if($access_level=='E' ) //{ //} $space="   "; $links = $assign_link.$space.$view_link.$space.$edit_link.$space.$delete_link; $data['rows'][] = array( 'id' => $row_checkup['checkup_id'], 'cell' => array($count++, date_format(date_create($row_checkup['checkup_date']),"d-M-Y H:i A"),$row_checkup['ticket_no'],$row_checkup['patient_name'], $row_checkup['bmi'],$row_checkup['isHiperTensed'],$row_checkup['health_score'],$links) ); } $data['rows'][] = array( 'id' => $row['filterkey'], 'cell' => array('', "", "", '', '','', '', '', '', '', '', '', '','', '', '','', '', '','') ); echo json_encode($data); ?>