1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP includes make blank lines between content and includes.

Discussion in 'Web Design' started by csc1990, Dec 12, 2011.

  1. csc1990

    csc1990 Registered Member

    Joined:
    Jun 29, 2010
    Messages:
    64
    Likes Received:
    11
    I am now lead to believe that it is, for some reason, the PHP includes I'm using that are causing the random spaces between my content and my header/footer. I have went through and tried to fix anything that I thought could cause it, but nothing seems to be working.

    Anyone wanna give it a shot? If you've got a Fiverr gig I'll buy it if you'll fix this for me. This project is now way past due and making me look wayyy bad. I just can't get to the bottom of it.:confused:
     
  2. xpwizard

    xpwizard Junior Member

    Joined:
    Nov 6, 2010
    Messages:
    198
    Likes Received:
    122
    It won't be the includes, but the content that's being included.

    Check the files that you're including and see if there are any line breaks or extra spaces at the end in what you are including (or in an echo/print statement).