I want to create a dynamic link to a file...basically the info is displayed in a .php template read in from MySQL db. I want to also have a link to the saved text file. Here is some of what I have:
$date=$_POST[Date_Entered];
$shift=$_POST[shift];
$shift_table=$shift."_shift_duties";
$fileDir="TOP".$shift."Shiftlog"
$fileID=.$date."_".$shift."shift.rtf";
and later in the form:
echo"<a href='file:///N:/'$fileDir'/'$fileID>Link to text file</a>(testing)";
Having trouble with the format...is this something that can be done?
Thanks
DS