canadabeeau Posted December 20, 2009 Share Posted December 20, 2009 Hi I remember (but not how) that I can call a PHP page (ie contents.php) and echo it in another php page (ie index.php) any ideas on how to do this Link to comment https://forums.phpfreaks.com/topic/185745-insert/ Share on other sites More sharing options...
nafetski Posted December 20, 2009 Share Posted December 20, 2009 You can use... <h1> Here is my first page </h1> <p> Here we will include our second page </p> <?php include('secondpage.php'); ?> Not sure if that's what you're talking about You could also embed it in an iFrame, insert it via an Ajax request, or call it via CURL. If any of that answered your question, great. If not, be a bit more specific in what you're trying to do and I'll try and point you in the right direction! Link to comment https://forums.phpfreaks.com/topic/185745-insert/#findComment-980773 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.