";
}
if($hasWriteAccess)
{
$edit_link="";
}
if($hasExecuteAccess)
{
$delete_link="";
}
$space=" ";
$links = $space.$view_link.$space.$edit_link.$space.$delete_link;
$data['rows'][] = array(
'id' => $row_health_risk['id'],
'cell' => array($count++, $row_health_risk['health_risk_name'], $row_health_risk['health_risk_cat'],$links)
);
}
echo json_encode($data);
?>