";
}
if($access_level=='W' || $access_level=='E' )
{
$edit_link="";
}
if($access_level=='W' || $access_level=='E' )
{
$delete_link = "";
}
$space=" ";
$links = $assign_link.$space.$view_link.$space.$edit_link.$space.$delete_link;
//$links="".$links."
";
$data['rows'][] = array(
'id' => $row_med['id'],
'cell' => array($count++, $row_med['medicine_usage_cat_name'], $row_med['cat_desc'],$row_med['code'],$links)
);
}
$data['rows'][] = array(
'id' => $row['filterkey'],
'cell' => array(
'',
"",
"",
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
''
)
);
echo json_encode($data);
?>