I'm running a simple query to display data from forms onto HTML pages.
I'm looking for a way to display a "preview" of the file that's getting uploaded using the forms. Forms have these fields: Date, name, author, description and upload file (files are stored on database). The type of files that are getting uploaded are: PDF, DOC, XLS, JPG, GIF, MPG4 and SWF.
The idea is that on the HTML pages, other than the other info, visitors are also able to see a small "preview" of the uploaded file.
How can I do this? Thanks!