/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php //folder you want to list $path="."; //extension you don't want to list echo "<a href=\"$file\" id=\"enlace_$file\" title=\"$file\">$file</a><br />"; } } ?>
URL: http://xhiena.net/index/php-mostrar-contenido-directorio/