Jump to content

Display Files


steviez

Recommended Posts

Hi,

 

On my site i want to show all the files a certain user has uploded. I have created a table for it (filename, size, code)

 

How do i get the files to display and the table to repeat down when a new file is added to the database?

 

My table code:

 

<div id="user_upload">
  <div id="user_upload_header">My Uploaded Files  </div>
  <div id="user_tabulka">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tbody>
        <tr id="tabulka_popisky">
          <td width="7%"></td>
          <td width="36%"><li>File Name </li></td>
          <td align="left" width="25%"><li>Size</li></td>
          <td width="26%"><li>Code</li></td>
          <td width="1%"></td>
        </tr>
        <tr class="tmavej_radek highlight">
          <td><img src="http://www.ukfilehost.com/images/ico_edit.gif" alt=""></td>
          <td>CODE HERE</td>
          <td>CODE HERE</td>
          <td><a href="#">Clich here to get code</a></td>
          <td></td>
        </tr>
      <td></td>
      </tr><tr id="tabulka_nastroje"></tr>
      <tr>
        <td colspan="5" align="left"><div id="prevnext"></div></td>
      </tr>
      </tbody>
    </table>
  </div>
</div>

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/45609-display-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.