NameSilo

Inserting the html code of 1 document into another

Spaceship Spaceship
Watch

JoshHendo

Established Member
Impact
7
I am designing a text exchange, and i want to put the HTML code of 1 document (show.php) into another document (the persons website). I have php code in that document that exports some javascript code into the source code, but not into the actual document.

<SCRIPT language="JavaScript" src="http://example.com/show.php"></script>

Does not work becuase the javascript code is in the source code, and i think that only works with .js files.It would be great if someone could tell me what to do :loveyou:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
PHP:
<?php include('http://www.example.com/show.php'); ?>


simple as that ;)
 
Last edited:
0
•••
nasaboy007 said:
PHP:
<?php include('http://www.example.com/show.php'); ?>


simple as that ;)

Needs to be javascript, or at least NOT php, it can be anything else, because it is a text exchange (as apposed to a banner exchange)......
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back