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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Katie Diamond
    Katie Diamond
    2,035 Points

    First PHP line seems wrong but I can't figure out why

    Posted October 22, 2021 11:12pm by Katie Diamond
    Katie Diamond
    2,035 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • A Simple PHP Example

    1 Answer

  • Jeff Jones
    Jeff Jones
    3,928 Points

    PHP Quiz

    Posted September 19, 2021 7:29pm by Jeff Jones
    Jeff Jones
    3,928 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Variables and Conditionals

    0 Answers

  • Nurullah Islamoglu
    Nurullah Islamoglu
    933 Points

    i cant download the zip file. can you please help me

    Posted June 11, 2021 3:22pm by Nurullah Islamoglu
    Nurullah Islamoglu
    933 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Setting Up the Project

    1 Answer

  • Jonathan Tebb
    Jonathan Tebb
    672 Points

    Why does my PHP show the bottom HTML element even when my condition is not met. plz help

    Posted June 11, 2021 12:47pm by Jonathan Tebb
    Jonathan Tebb
    672 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Variables and Conditionals

    1 Answer

  • Jesse Parker
    Jesse Parker
    53 Points

    Wouldn't leaving the closing div tag cause every text editor to yell at you since it doesn't have its opening tag?

    Posted June 6, 2021 10:57pm by Jesse Parker
    Jesse Parker
    53 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Including the Header

    0 Answers

  • Patrick Johnson
    Patrick Johnson
    9,505 Points

    I'm getting a Parse error on line 6. It looks like my code is identical.

    Posted January 22, 2021 1:33am by Patrick Johnson
    Patrick Johnson
    9,505 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Working with _GET Variables

    2 Answers

  • Kylian van der Have
    Kylian van der Have
    10,124 Points

    The browser says there is a Parse Error with the code, despite being it exactly as in this video.

    Posted January 17, 2021 2:19pm by Kylian van der Have
    Kylian van der Have
    10,124 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Working with _GET Variables

    1 Answer

  • Mark Harrigan
    Mark Harrigan
    7,686 Points

    Variables and Conditionals Challenge Task 3: "I do not see the flavors set correctly"

    Posted December 1, 2020 12:51am by Mark Harrigan
    Mark Harrigan
    7,686 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Variables and Conditionals

    0 Answers

  • Johanna Svensson
    Johanna Svensson
    1,998 Points

    Could you have two <h1> per page? This is what she does in the video.

    Posted August 9, 2020 1:48pm by Johanna Svensson
    Johanna Svensson
    1,998 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Including the Footer and Adding Additional Pages

    3 Answers

  • jared garcia
    jared garcia
    1,295 Points

    How are you using $pageTitle and $section without including the catalog.php where you are setting the variables?

    Posted July 27, 2020 12:50am by jared garcia
    jared garcia
    1,295 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Adding Active States to the Navigation

    2 Answers

  • jared garcia
    jared garcia
    1,295 Points

    Should have explained what echo "on" is actually doing. What does it mean? Why does echo "on" underline the nav links?

    Posted July 26, 2020 7:33pm by jared garcia
    jared garcia
    1,295 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Adding Active States to the Navigation

    1 Answer

  • chrisshadrach
    chrisshadrach
    11,058 Points

    MAMP won't open .php file

    Posted April 8, 2020 1:16pm by chrisshadrach
    chrisshadrach
    11,058 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Using PHP Code on Our Site

    1 Answer

  • Ker Sing Tan
    Ker Sing Tan
    10,573 Points

    Why isset ?

    Posted February 12, 2020 9:02am by Ker Sing Tan
    Ker Sing Tan
    10,573 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Working with _GET Variables

    2 Answers

  • Will Albertsen
    Will Albertsen
    13,155 Points

    variable $pageTitle undefined

    Posted February 6, 2020 11:23pm by Will Albertsen
    Will Albertsen
    13,155 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Using Variables for the Title Tag

    4 Answers

  • Jeremy Smith
    Jeremy Smith
    2,236 Points

    Does not say that you actually need to update the href links on the index page to the catalog... hope comment helps.

    Posted January 19, 2020 1:09pm by Jeremy Smith
    Jeremy Smith
    2,236 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Using Variables for the Title Tag

    1 Answer

  • adam wright
    adam wright
    166 Points

    Is there missing files from this project?

    Posted November 26, 2019 5:58pm by adam wright
    adam wright
    166 Points
    • PHP
    • Build a Basic PHP Website
    • Building a Media Library in PHP
    • Setting Up the Project

    4 Answers

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.