php code section with opportunity to comment
Tag: code
HTML5 Download in anchor
Majorly useful http://davidwalsh.name/download-attribute Place the download attribute on a link… <!– will download as “expenses.pdf” –> <a href=”/files/adlafjlxjewfasd89asd8f.pdf” download=”expenses.pdf”>Download Your Expense Report</a> …and when the user clicks the link, the download attribute appears in the save dialog instead of the garbled mess that was there before. In this case, the file will be downloaded as expenses.pdf. The download attribute also triggers a force download,…