Preview of uploaded file

Am uploading the file in User creating screen
and i need to preview the uploaded file in the User details
but the uploaded file not working due to its saving filename in Database
Please help me with Asap mail id

What is the question…is it how to show a preview of the uploaded file or is it how to upload a file?

What have you debugged to uncover the issue is that you can not upload the file because the file name is being saved to the database?