ayok Posted March 15, 2009 Share Posted March 15, 2009 Hi, I have another question. I have a php page with some includes, like sessions, functions, queries, etc within the <head> tags. However, when I open my page on a browser and look at the page source, I have couple of blank lines in the <head> tags where my includes and php scripts is written there. My question is, is that OK? and how to get rid of those whitespace? thanks ayok Link to comment https://forums.phpfreaks.com/topic/149515-php-creates-whitespace/ Share on other sites More sharing options...
kenrbnsn Posted March 15, 2009 Share Posted March 15, 2009 If you have blank lines before you opening "<?php" in your includes, that will show in the generated source. Ken Link to comment https://forums.phpfreaks.com/topic/149515-php-creates-whitespace/#findComment-785210 Share on other sites More sharing options...
ayok Posted March 15, 2009 Author Share Posted March 15, 2009 Ah.. of course.. hehe.. Thanks! Link to comment https://forums.phpfreaks.com/topic/149515-php-creates-whitespace/#findComment-785218 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.