File Download Problem
Posted: Fri Jan 16, 2004 4:11 pm
I have an online job application form that allows the user to upload their resume. They have to name the resume firstnamelastname.doc. I have now set-up an admin page for the HR person to get the resume and application form. My problem is that I can get the following to work only using $last_ name, how do I call $first_name and $last_name in the following:
Thank you,
Code: Select all
<?php
if(!file_exists("resume/".$last_name.".doc")){
echo "<td width="80"><font face="Verdana" size="1">No</font><br></td>\n";
} else {
echo "<td width="80"><font face="Verdana" size="1"><a href="resume/".$last_name.".doc">Yes</a></font><br></td>\n";
}
?>