Inserting the html code of 1 document into another

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
PHP:
<?php include('http://www.example.com/show.php'); ?>


simple as that ;)
 
Last edited:
0
Close
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
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back