I understand how to use the basic include function in a .php page so that repetitive content (like a menu) can be coded in a separate file and then dynamically included in multiple pages. But I don't get how to use it so that a URL in a page can be clicked to load content into the original page with the hyperlink.
For example a page with a special offer that requires a disclaimer would use the following to link to a separate page:
<a href="disclaimer.html">click here to read the disclaimer</a>
I'm hoping to load that disclaimer right into the original page if someone wants to read it when they click on the link.
How can that be done with the PHP include function?
And can PHP be used in a .shtml page?
Thanks.