Load an External File
Posted on 2004-11-11
Please can you tell me the code to load text from an external file onto my page.
My website is currently set up with 20 links on.
and so on....
If you click on the first link it adds text?webpagea to the end of my url, it then opens another page which splits the text in the link to "webpagea" once it has done this it loads the image webpagea.jpg,
if your clicked the second link it would load webpageb.jpg and so on....
I want it so it loads text from a txt file in the same way so if i click on the first link it will load webpagea.txt and if i click the second link it loads webpageb.txt and so on....
How do I do this??
Thanx in advance