Thundarfoot Posted February 3, 2008 Share Posted February 3, 2008 I have a html table in which each cell has a hyperlink to a diffrent .php file currently I am using href target _blank to open in new window. However, I would much prefer to open the link in the current page, but keep the html link table at the top of the page. I could edit each file to include the table...but wonder if there might not be an easier way? something along the lines of a framset or something? Any help is much appreciated. Quote Link to comment Share on other sites More sharing options...
Stooney Posted February 4, 2008 Share Posted February 4, 2008 use some php. Put the table with the links in its own file (we'll call it table.html); Then in whatever page you want the table on: <?php include("table.html"); ?> example of table.html: <table> <tr> <td>LINK</td> <td>LINK</td> etc... </tr> </table> Whatever you do, stay away from frames. They are bad. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.