Código PHP:
<?
$result = mysql_query("SELECT * FROM $tabla WHERE ID='$ID'",$link);
while ($row = mysql_fetch_array($result))
{
$archivo=$row["url"];
}
header("Content-Type: application/download\n");
header("Content-Disposition: attachment; filename=$archivo");
?>
No sale, simplmente se abre la pagina y se queda sin descargar nada.