asp or php?
Use an include, tell me what language and I will post the code
How do I add an external .txt'document into a page?
Like if I'm having a document called 'article1.htm' and want the text from 'articles/ar1.txt' to be shown in a specific table on the page.
Thanks,
Claudiu
asp or php?
Use an include, tell me what language and I will post the code
None, in HTML. I know include in PHP but i need in HTML.
hmmm, I dont think there is a way in raw HTML but I guess there is nothing stopping you using javascript:
If you have SSI enabled then you can use them:Code:<BODY> <script language="javascript" type="text/javascript" src="filename.txt"></script>
Code:<!--#include virtual="other_page.txt" -->
Thanks, I will try it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks