I am trying to access a .txt file from my webpage. First off, I am pulling the file name from my database.
Click on the link and the file should open, however, it doesn't.
Here's my code:
<td><span class="style3"><a href="file://<?php echo $LibLoc."\\".$row_RecordSet1['name']; ?>"><?php echo $row_Recordset1['name']; ?></a></span></td>
What is strange is that the name will display in the cell but not in the href statement.
Now if I hard code the file name, File11.txt, it works.
I'm totally confused. Can someone shed some light on this for me?
Thx
Click on the link and the file should open, however, it doesn't.
Here's my code:
<td><span class="style3"><a href="file://<?php echo $LibLoc."\\".$row_RecordSet1['name']; ?>"><?php echo $row_Recordset1['name']; ?></a></span></td>
What is strange is that the name will display in the cell but not in the href statement.
Now if I hard code the file name, File11.txt, it works.
I'm totally confused. Can someone shed some light on this for me?
Thx