Código PHP:
<?php
$path = opendir("descargas/");
echo "<table border='0' cellspacing='1' cellspadding='3' bgcolor=\"#00CC66\">";
echo "<tr><td>Número</td><td><center>Archivo</center></td><td><center>Descargas</center></td></tr>";
$i = 1;
while($row = readdir($path)){
if($row == "." or $row == ".."){
}else{
echo "<tr>";
echo "<td bgcolor='#99FF00'>".$i++."</td>";
echo "<td>".$row."</td>";
echo "<td><a href=$path$row>Descargar</a></tr>";
}
}
echo "</table>";
?>
Podria ser por problemas de formatos?¿
Y otra cosa así <a href='$path$row'> ni así <a href='".$path.$row."'> tampoco me funciona
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
Haber si alguien me echa un cable.
Gracias de antemano