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. Link to comment https://forums.phpfreaks.com/topic/89147-php-open-link-in-window-or-frame/ 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. Link to comment https://forums.phpfreaks.com/topic/89147-php-open-link-in-window-or-frame/#findComment-457861 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.