anyway, here is my code...
//-- for the table linkage with icon
Expand|Select|Wrap|Line Numbers
- <table>
- <tr>
- <td class="rowsavedisk"> <a href="<? echo $dirPath.$rows['name']; ?>" target="_blank" title="Poster"> <img src="imgs/icons/save.gif" alt="" border="0" /> </a> </td>
- </tr>
- </table>
//-- for the table linkage with icon
Expand|Select|Wrap|Line Numbers
- <table>
- <tr>
- <td class="rowsavedisk"> </td>
- </tr>
- </table>
here is my code for the path-link:
//--
Expand|Select|Wrap|Line Numbers
- <?php
- $source = $name . $path;
- $query = "SELECT id, name, path FROM $sched LIMIT 1";
- $result = mysql_query($query) or die('Error, query failed');
- if($source == 0) {
- // empty space or no content instead
- echo "";
- } else {
- // include this path if the result is 1
- echo "<a href=\"<? echo '$dirPath.$rows['name']'; ?>\" target=\"_blank\" title=\"Poster\"><img src=\"imgs/icons/save.gif\" alt=\"\" border=\"0\" />";
- ?>