Forum Moderators: open

Message Too Old, No Replies

Loading external content in html page

easy to import image, how to import html text

         

Spaciane

6:08 pm on Apr 3, 2004 (gmt 0)

10+ Year Member



In pure Html page, one can load a image coming from a external resource like
<img src="http://externalsite.com/myimage.jpg">

I want to load a table containing user note from my php/mysql webhost into my pure_html webhost. I'm looking for something to add in my html page that look like:

<"?" href:"http://myphpsite.com/list_note.php?idpage=3">

This url will output a table related to the html page 3

My concern is: my html webhost is free and fast but doesn't handle php/mysql and myphpwebhost is not that fast and reliable. At least a visitor will allways get the main content of the site .

Thank you for reading and replying

encyclo

7:17 pm on Apr 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You're looking for an
iframe
. There are a load of posts about them on the forum, but in short it allows you to include a remote HTML file in much the way you describe.

<iframe width="200" height="100" name="framename" src="http://myphpsite.com/list_note.php?idpage=3"></iframe>

Spaciane

8:33 pm on Apr 3, 2004 (gmt 0)

10+ Year Member



Thank you encyclo

That's exactly the tag I was looking for. I did try the iframe tag before but I was using href="... instead of src="...
And now I found out the <ilayer> tag for netscape 4x.

Thanks again
spaciane go game fan