denoteone Posted July 14, 2008 Share Posted July 14, 2008 how do you include a php file into an html document? Link to comment https://forums.phpfreaks.com/topic/114708-solved-php-includes/ Share on other sites More sharing options...
slushpuppie Posted July 14, 2008 Share Posted July 14, 2008 the document must be saved as a .php, not .html and then you use: <?php include('___________'); ?> where __________ is the path to the file. you can also use: include_once, require, and require_once Link to comment https://forums.phpfreaks.com/topic/114708-solved-php-includes/#findComment-589860 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.