php script to display file information and download link if files are present - How to adjust for multiple files
===

I have a piece of php that if a specified folder has a file in, it will display the filename, date created and present a download button, if the folder is empty it will show nothing. This works very well but if I have more than one file in the folder it bunches all the filenames together - what I want is the separate information displayed for every file.

To help you understand the problem here is an image showing the problem and the code. I got very far on my own but its way above my head, I just cant see a simple way to correct the problem. The code may look very awkward and odd as I'm totally new at this but it looks visually right on the browser. I would really appreciate any help thank you.

Here is an image of the problem: http://i46.tinypic.com/m79cvs.png

        <?php if (!empty($thelist)) { ?>
    <p class="style12"><u>Fix</u></p>
    <p class="style12"><?=$thelist?><?php echo " - " ?> <?php $filename = '../../customers/client1/client1.fix.exe';
    if (file_exists($filename)) {
        echo "" . date ("m/d/Y", filemtime($filename));
    }
    ?> <?php echo " - <a href='download.php?f=client1/client1.fix.exe'><b>Download</b></a>&nbsp;&nbsp;&nbsp;<a     href='download.php?f=client1/client1.fix.exe'>
    <img src='../css/images/dlico.png' alt='download' width='35' height='32'     align='absmiddle' /></a>" ?>
    </p>
    <?php } ?>