CODIGO PHP [DOCUMENTO DESCARGAR.PHP]
<?php
$f=$_GET["f"];
$f="RUTA DEL DOCUMENTO".$f;
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"$f\"\n");
$fp=fopen("$f", "r");
fpassthru($fp);
?>
CODIGO HTML
<a href="descargar.php?f= <?php echo $row['documento'] ?>" class="textogris" style="float:right" target="_blank">Ver documento</a>