Does anyone know how can I read an external file in an html. For example in the code below I want to create a document and let the html pull that information. The first line it will get the question and everything on the second line will be the answer. (In other words I am trying to put the text information in a document instead of the html file. Any help?
There are different ways to includ external files into the html, the first you could try is Server Side Includes. Exactly how is dependent of the site hosting.
Here are a few links I dug up to read more about SSI: