I have an upload form
documents are uploaded to an (Uploads/Reference/) folder and a link to document is stored in mysql database like this:
$sql="INSERT INTO uploaddate (upload_id, file_link)
VALUES
('$upload_id', '$target')";
the link stored in 'file_link' column of 'uploaddata' table is like this:
(Uploads/Reference/6206webhost change.txt)
Now when i run a select statement to this table, instead of just displaying plain text extension i would like to get a clickable link which can be used to download the uploaded document from it's location.
How can i do this?