21.02.2011, 15:42
Quote:
Try:
Код:
echo "<u><a href=\"uploads/'.$file.'\">$file</a></u><br />"; Код:
echo "<u><a href=\"'.$file.'\">$file</a></u><br />"; |
Код:
<?php if ($handle = opendir('uploads')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "<u><a href=\"'.$file.'\">$file</a></u><br />"; } } closedir($handle); } ?>

-J