idforedu Posted August 5, 2008 Share Posted August 5, 2008 hi i m new to PHP. i want to know is there anyway to load html page dynamically & add content to it? please help me out thnx Link to comment https://forums.phpfreaks.com/topic/118232-php-load-html-page-dynamically/ Share on other sites More sharing options...
jeeva Posted August 5, 2008 Share Posted August 5, 2008 Try FckEditor to load the html file Look at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Integration/PHP Hope it helps! Jeeva Link to comment https://forums.phpfreaks.com/topic/118232-php-load-html-page-dynamically/#findComment-608486 Share on other sites More sharing options...
MasterACE14 Posted August 5, 2008 Share Posted August 5, 2008 when you mean dynamically, do you mean you want stuff to load when a button or link is pressed? if so, then look into AJAX. otherwise if you just mean grab HTML and display it. You can either grab a html file. Or display the HTML in PHP. grabbing the html file: <?php include("htmlfile.html"); ?> display HTML in PHP: <?php echo <<<_HTML <h1>My HTML</h1> _HTML; ?> Regards ACE Link to comment https://forums.phpfreaks.com/topic/118232-php-load-html-page-dynamically/#findComment-608491 Share on other sites More sharing options...
idforedu Posted August 5, 2008 Author Share Posted August 5, 2008 when you mean dynamically, do you mean you want stuff to load when a button or link is pressed? if so, then look into AJAX. otherwise if you just mean grab HTML and display it. You can either grab a html file. Or display the HTML in PHP. grabbing the html file: <?php include("htmlfile.html"); ?> display HTML in PHP: <?php echo <<<_HTML <h1>My HTML</h1> _HTML; ?> Regards ACE i want to load contents dynamically on the html page. can u plz help me out where i can find sample code? Link to comment https://forums.phpfreaks.com/topic/118232-php-load-html-page-dynamically/#findComment-608646 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.