php file download pdf code example
Example: download pdf php
<?php
echo '<a href="FileLink" download="newfilename">Download the pdf</a>';
//It will work for all kind of file.
?>
<?php
echo '<a href="FileLink" download="newfilename">Download the pdf</a>';
//It will work for all kind of file.
?>