🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Elena Paraschiv
    Elena Paraschiv
    9,938 Points

    comment in php file does not work

    Posted September 18, 2015 7:45pm by Elena Paraschiv
    Elena Paraschiv
    9,938 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    3 Answers

  • Martina Carrington
    PLUS
    Martina Carrington
    Courses Plus Student 15,807 Points

    i have problem with my index.php

    Posted September 5, 2015 1:34am by Martina Carrington
    Martina Carrington
    Courses Plus Student 15,807 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Sharon Anderson
    Sharon Anderson
    3,192 Points

    Problem with h1's on Contact and Shirts page

    Posted April 8, 2015 5:27pm by Sharon Anderson
    Sharon Anderson
    3,192 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    2 Answers

  • Jesse Fister
    Jesse Fister
    11,968 Points

    shirt.php is not found

    Posted March 3, 2015 12:00am by Jesse Fister
    Jesse Fister
    11,968 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    2 Answers

  • OÄŸulcan Girginc
    OÄŸulcan Girginc
    24,848 Points

    shirts.php = Not Found

    Posted January 29, 2015 2:21pm by OÄŸulcan Girginc
    OÄŸulcan Girginc
    24,848 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    2 Answers

  • James Larivee
    James Larivee
    3,657 Points

    Ok, this is all making good sense. But I have 1 question.

    Posted January 17, 2015 7:33pm by James Larivee
    James Larivee
    3,657 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Dayne Wright
    Dayne Wright
    11,235 Points

    Why do you include the closing or opening tag in the footer or header files for statements that are in index.php?

    Posted January 12, 2015 11:00pm by Dayne Wright
    Dayne Wright
    11,235 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    2 Answers

  • Brad Robb
    PLUS
    Brad Robb
    Courses Plus Student 671 Points

    I want to change the class of the selected navbar item to active. How would I do this with a general php header file?

    Posted December 18, 2014 9:16am by Brad Robb
    Brad Robb
    Courses Plus Student 671 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Tom Lawrence
    Tom Lawrence
    8,685 Points

    Why did you copy the HTML into footer.php starting with a closing DIV tag?

    Posted November 9, 2014 1:13am by Tom Lawrence
    Tom Lawrence
    8,685 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    4 Answers

  • Ryan Hellerud
    Ryan Hellerud
    3,635 Points

    Why does he include the top closing div in the footer file?

    Posted October 14, 2014 2:30am by Ryan Hellerud
    Ryan Hellerud
    3,635 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    3 Answers

  • Ben Myhre
    Ben Myhre
    28,726 Points

    Is having the closing tag of a div in a different file than the opening tag a fragile way to construct a page?

    Posted October 6, 2014 3:02pm by Ben Myhre
    Ben Myhre
    28,726 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    4 Answers

  • Aaron Lafleur
    Aaron Lafleur
    10,474 Points

    Can't seem to get shirts.php to load.

    Posted October 3, 2014 12:14am by Aaron Lafleur
    Aaron Lafleur
    10,474 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    4 Answers

  • Bruce McMinn
    Bruce McMinn
    10,030 Points

    Can't change from hash to file in href

    Posted September 5, 2014 7:07am by Bruce McMinn
    Bruce McMinn
    10,030 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Cody Solomon
    Cody Solomon
    6,662 Points

    Why does the closing "</div>" tag in the footer section have to be included for the web page to display correctly?

    Posted August 20, 2014 5:51am by Cody Solomon
    Cody Solomon
    6,662 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    2 Answers

  • Andrew McCombs
    Andrew McCombs
    4,309 Points

    Href isnt working correctly. The link in the web browser says localhost/# and not localhost/shirts.php

    Posted August 18, 2014 10:18pm by Andrew McCombs
    Andrew McCombs
    4,309 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    8 Answers

  • Martin Scott
    Martin Scott
    1,755 Points

    The files that are needed to follow instructor on work space seem to be corrupted?

    Posted August 7, 2014 9:37pm by Martin Scott
    Martin Scott
    1,755 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Jose Mora Hernandez
    Jose Mora Hernandez
    2,909 Points

    My shirts section won't load.

    Posted August 4, 2014 3:41pm by Jose Mora Hernandez
    Jose Mora Hernandez
    2,909 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Ozcan Durak
    PLUS
    Ozcan Durak
    Courses Plus Student 984 Points

    include file doesn't work for me

    Posted July 22, 2014 10:46pm by Ozcan Durak
    Ozcan Durak
    Courses Plus Student 984 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    2 Answers

  • Mohammed Ali Zaheer
    Mohammed Ali Zaheer
    11,787 Points

    shirts.php

    Posted July 15, 2014 6:38pm by Mohammed Ali Zaheer
    Mohammed Ali Zaheer
    11,787 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    5 Answers

  • Michael Nickey
    PLUS
    Michael Nickey
    Courses Plus Student 13,524 Points

    MAMP Localhost only displaying a blank page.

    Posted June 16, 2014 6:46am by Michael Nickey
    Michael Nickey
    Courses Plus Student 13,524 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    2 Answers

  • Reshard Watson
    Reshard Watson
    1,025 Points

    Shirts page not working !

    Posted June 15, 2014 6:16pm by Reshard Watson
    Reshard Watson
    1,025 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    5 Answers

  • daniwao
    daniwao
    13,125 Points

    Linking shirts.php correctly but getting 404 error

    Posted June 12, 2014 11:04pm by daniwao
    daniwao
    13,125 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Faris Almomen
    Faris Almomen
    5,153 Points

    &rsquo and footer

    Posted April 20, 2014 4:29pm by Faris Almomen
    Faris Almomen
    5,153 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    2 Answers

  • Randy Crowson
    Randy Crowson
    2,531 Points

    Footer not showing up on contact or shirts pages

    Posted March 4, 2014 10:47pm by Randy Crowson
    Randy Crowson
    2,531 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Martin Bornman
    PLUS
    Martin Bornman
    Courses Plus Student 12,662 Points

    Shirts

    Posted March 4, 2014 3:40pm by Martin Bornman
    Martin Bornman
    Courses Plus Student 12,662 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

  • Martin Bornman
    PLUS
    Martin Bornman
    Courses Plus Student 12,662 Points

    Shirts

    Posted March 4, 2014 3:40pm by Martin Bornman
    Martin Bornman
    Courses Plus Student 12,662 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    3 Answers

  • KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points

    Why was </div> at the starting of header.php and in the end of footer.php?

    Posted February 22, 2014 7:03pm by KnowledgeWoods Consulting
    KnowledgeWoods Consulting
    5,607 Points
    • PHP
    • Build a Simple PHP Application
    • Creating the Menu and Footer
    • Including the Footer and Adding Additional Pages

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.