- What you are showing seems to be file upload part.
- File content function not visible in your script. i.e. move_uploaded_file() to be moved to your folder.
- Href link to download file can be rendered in html emebded with php loop of file table.
echo "<a href='http:domain/contentfolder/{$filename}' target='_blank'>download file here<a>";