php EASY? write html table from data in folder
Posted on 2007-07-20
this one should be pretty easy. I have a folder with changing files. What I need to do is have php look into a folder, get all the file names with a php extension, then write an html table with the values of the folder contents in the table.
contains a.php, b.php x.php and y.php
so, write contents.html with value
<table width="300" border="0" cellspacing="0" cellpadding="0">
I would have a sample code, but I have no idea where to start... thanks in advance.