I want to do something similar to PHP include but make it work like iframes.
Explained: according to my tiny coding knowledge, iframes' working can be described as individual tabs within the actual browser tabs. Which is good, since I can click anything inside my iframes without having to reload the actual browser tab or affecting its content at all. However this is not true about PHP include method; if I'm using include, whenever I click a link inside the included page, it will navigate my browser tab from index.php to the URL defined in the link.
I'd gladly use an iframe but since its content's height would dynamically change when navigating inside it, I could never get rid of the scrollbar at its side.
Any solutions for the problem out there?