Hello,
I want to download a resume from folder in localhost ->wamp -> www ->resumes.
Here is the codings,
<?php
mysql_connect("localhost","root","");
mysql_select_db("sample");
?>
<?php
if(isset($GET['id']))
{
$id = $GET['id'];
$query = mysql_query("SELECT file FROM testing WHERE file='$file' ");
$row = mysql_fetch_array($query);
}
?>
<a href='resumes/'<?= $row['file'] ?>Download</a>
it works,and it shows all the resumes from folder.but i want to download a corresponding resume with help of email address.
If anyone knows let me know.