Im after a pointer in the right direction. Im trying to figure out how some websites create downloadable pdfs or more importantly excel spread sheets. Some of the ones that spring to mind are like the online banking sites where you can view a statement using the entered search parameters and then download it as a spread sheet.
If you are looking to create a button or a link for Download then you can use following HTML code on the webpage from where you want the user to get it downloaded like this:
Making a Download Button:
<form>
<input type=“button” value=“Download” onClick="window.location.href=‘path to excel or pdf file on your site directoty’ ">
</form>
2.) Making a Download Link:
<a href=“path to excel or pdf file on your site directoty” target=“_blank”>Download File</a>
I think you misunderstood my problem. I know how to create the download links. I want to know how to go about creating the spreadsheets from the data in the database.
Sorry for misunderstanding. Well I have no idea based on my personal experience regarding to this problem but I think that have to be done via back-end coding.