Click here to Skip to main content
15,882,017 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HTML
<table class="table table-bordered">
	<thead>
		<tr>
			<th>Module Code</th>
			<th>Exam Date</th>
			<th>Download Files</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td> </td>
			<td> </td>
			<td><a class="btn" href=".$row['ExamPaperPDF'].">Download</a></td>
		</tr>
	</tbody>
</table>


What I have tried:

I have a separate file that is handling the upload file process. This file is supposed to allow the download button when clicked to take me to the file uploaded and view it. All of this needs to be displayed in a table.
Posted
Updated 31-Oct-22 2:27am
v3
Comments
Richard Deeming 31-Oct-22 5:28am    
There is nowhere near enough information here for anyone to help you. We have no access to your database, so we have no idea what value your ExamPaperPDF column contains.
zedd9 31-Oct-22 5:32am    
Apologies, I was not sure what info needed to be provided. Just had a problem with the code format and I thought someone might be able to resolve it. I managed to find a workaround.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900