How do I download a pdf file that is in different directory path? Or is it possible to upload just only the file and do not include the directory path?
So this modal is located at the root folder xampp\htdocs\rootfolder\modal.php
and the repository Files is where the files are stored, and code where it does the adding is located at the admin folder.
This is where my modal located at.
This is my code to retrieve the file.
<a target="_blank" href="<?php echo $row['research_file'];?>" class="btn btn-info"> <?php echo $row['research_file'];?> </a>
This what happens everytime I click the button ..files/Images/certificate0.pdf
.
没有评论:
发表评论