nblackwood Posted September 5, 2009 Share Posted September 5, 2009 How would I show a document in a specific html table on a page when it's link is clicked rather than loading a whole new page without using classes and includes? I could do it that way, but for one, I don't have time, and two, trying to keep it as clean as possible. Using Dreamweaver CS4 and merged html/php. Any help is appreciated. Link to comment https://forums.phpfreaks.com/topic/173223-show-page-in-table-rather-than-loading-new-page/ Share on other sites More sharing options...
Mardoxx Posted September 5, 2009 Share Posted September 5, 2009 Javascript+XML (aka ajax....) if you're wanting to keep it clean use php with get something like /table.php?id=1 then use cases case $id 1: echo table1.html 2: echo table2.html etc etc (I CBA with correct syntax) Link to comment https://forums.phpfreaks.com/topic/173223-show-page-in-table-rather-than-loading-new-page/#findComment-913127 Share on other sites More sharing options...
nblackwood Posted September 5, 2009 Author Share Posted September 5, 2009 thanks for the response. Theoretically, I should be able to forward all my links to that table right? or would that require something a bit more involved? Link to comment https://forums.phpfreaks.com/topic/173223-show-page-in-table-rather-than-loading-new-page/#findComment-913132 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.