Staredit Network

Staredit Network -> Computers and Technical -> HTML ( D: ) Inserting file
Report, edit, etc...Posted by Centreri on 2005-11-20 at 18:24:24
I need to find a way to do something similar to the javascript
<script type="text/javascript" src="something.js></script> 'tags', but with HTML.
I tried using same code as the javascript but replacing .js with .html, but it didnt work.

If you still don't know what I mean, I need to find a way to access an external html document and putting the code inside the first document. (I didn't write HTML because I use PHP files)

Any suggestions?
Report, edit, etc...Posted by O)FaRTy1billion on 2005-11-21 at 18:14:40
Like the page inside a frame?
Or just the code from a file inserted into the page?

Try this and see if it is what you are looking for:
HTML
<iframe src="something.htm"></iframe>
(You can change dimensions of that and use CSS to make it look like its part of the page, rather than a frame biggrin.gif)
Report, edit, etc...Posted by Centreri on 2005-11-25 at 16:46:29
I solved it.
It was
<?php
include(file);
?>
Next Page (1)