I don't have the time at the moment, but there's 2 basic methods. One is to simply write out an html anchor link example <a href='/path/to/fileuploads/<?php echo $TheFileField ?>'>View File</a>
if this is a word file, the browser response will depend on whether the view has MS Word (or the word viewer) installed. If so, it will open the file in the browser (via OLE - object linking and embedding of the word application), otherwise it will display a popup to save the file.
The second method is a binary read and setting some headers to force a download rather than opening in the browser window. There are many posts in this forum on forcing download.