TheFilmGod Posted March 17, 2007 Share Posted March 17, 2007 Is it okay to use php include between the head tags of the html? Will it create any problems? Link to comment https://forums.phpfreaks.com/topic/43067-php-include/ Share on other sites More sharing options...
suttercain Posted March 17, 2007 Share Posted March 17, 2007 From what I have read, you shouldn't have any issues but I am not 100% sure. Link to comment https://forums.phpfreaks.com/topic/43067-php-include/#findComment-209215 Share on other sites More sharing options...
TheFilmGod Posted March 17, 2007 Author Share Posted March 17, 2007 I tested it, and it works without a problem. I'm not sure if search engines will have issues though. Now I'm trying to get the whole beginning of the html file from "DocType to the end of the head tag under one php inlcude file. We'll see if it works. Link to comment https://forums.phpfreaks.com/topic/43067-php-include/#findComment-209217 Share on other sites More sharing options...
kenrbnsn Posted March 17, 2007 Share Posted March 17, 2007 PHP is processed before the brower or any search engine reads the page, so the code can be anywhere. In fact, PHP doesn't even have to output any HTML code. Ken Link to comment https://forums.phpfreaks.com/topic/43067-php-include/#findComment-209244 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.