#PHP include once space

PHP Include or Require Causes Unwanted Gap or Space

<?php include_once('yourfile.php'); ?> This happens all the time. You have a header, navigation, or footer that you intend on including into several other PHP files, and for some reason, it keeps adding blank space. The CSS can’t explain it, but for some reason there’s...