How can I invoke Word to open a file whose file nmae is in a table

Hi, I'm using html  , jsp and PHP for this web page.   Can someone give me some idea about how to implement this.  at this page, http://www.labctsi.org/index.php/cct/Advisory_Committee_Minutes
I would like for user to click on any Meeting Notes File and starts Word to open the clicked file.  I have the path to the file selected.  All files are in the same file directory on the server.
Thank yoiu.
<?php
				$fullFileName = "{meetingNotes}";				
				$fileName = substr(strrchr($fullFileName, "/"), 5);

				echo "<tr>";
				echo "<td>" . "{meetingDate format="%F %d, %Y"}" . "</td>";
				echo "<td>" . "{title}" . "</td>";
				echo "<td>" . "$fileName" . "</td>";
				echo "</tr>";
			?>

Open in new window

lapuccaAsked:
Who is Participating?
 
amit_gConnect With a Mentor Commented:
Change

echo "<td>" . "$fileName" . "</td>";

to

echo "<td><a href='/TheFolder/WhereTheFilesAre/" . "$fileName" . "'>" . "$fileName" ."</a></td>";
0
 
lapuccaAuthor Commented:
That is brilliant!  Thank you very much!
0
All Courses

From novice to tech pro — start learning today.