Suppose the site has 4 pages:
page.html(here 2 links<a>that lead to another page - example.html)example.html(blank page)result1.htmlresult2.html
How to make it so that when you click on the first link, the example.html page opens with the contents of result1.html ? Accordingly, when you click on the second link, example.html also opens, but the contents of result2.html loaded into it.
As far as I understand, it’s necessary to transmit some value by reference, and to make a check on a blank page: if the value is one, then we show the contents of result1.html , if the other is the result2.html . Tell me how you can accomplish this and using what (JS, PHP or standard HTML tools)?
Thank you very much in advance.