🤑 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
  • pups pups
    pups pups
    1,854 Points

    where did the data "id" come from that's stored in the variable $id and the variable $item?

    Posted May 12, 2019 3:10pm by pups pups
    pups pups
    1,854 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Aaron Uusitalo
    Aaron Uusitalo
    4,405 Points

    why not just use "Books" in our conditional as opposed to "books" rather than having to call strtolower function?

    Posted April 24, 2019 9:29pm by Aaron Uusitalo
    Aaron Uusitalo
    4,405 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Karn Sylvester
    Karn Sylvester
    11,179 Points

    Item Details set below Featured Image

    Posted February 9, 2019 10:58am by Karn Sylvester
    Karn Sylvester
    11,179 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Joy Manuel
    Joy Manuel
    6,464 Points

    Displaying Item Details showing up at the bottom of the book and no Notice warning.

    Posted December 9, 2018 7:47pm by Joy Manuel
    Joy Manuel
    6,464 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • demian arizaleta
    demian arizaleta
    3,382 Points

    The details dont next to the picture they load a bit lower than they do for Alena?

    Posted October 17, 2018 4:38pm by demian arizaleta
    demian arizaleta
    3,382 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Siraj Khan
    Siraj Khan
    3,451 Points

    The details page does not open in the browser.?

    Posted July 24, 2018 8:15am by Siraj Khan
    Siraj Khan
    3,451 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • jlampstack
    jlampstack
    23,932 Points

    Do you need to use else if?

    Posted May 22, 2018 7:44pm by jlampstack
    jlampstack
    23,932 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Antwaun Johnson
    PLUS
    Antwaun Johnson
    Courses Plus Student 11,157 Points

    details page is redirecting to catalog.php

    Posted April 10, 2018 9:15pm by Antwaun Johnson
    Antwaun Johnson
    Courses Plus Student 11,157 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • coskun olcucu
    coskun olcucu
    5,340 Points

    I have issue when i hit the category link.

    Posted July 20, 2017 4:58pm by coskun olcucu
    coskun olcucu
    5,340 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    3 Answers

  • Vladislav Mavrin
    PLUS
    Vladislav Mavrin
    Courses Plus Student 3,125 Points

    Clicking "View details" leads to catalog.php

    Posted June 6, 2017 8:47am by Vladislav Mavrin
    Vladislav Mavrin
    Courses Plus Student 3,125 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Amit Kumar
    Amit Kumar
    1,063 Points

    why we are using opening brace in php statement and closing brace in php statement can we use is without this

    Posted March 23, 2017 5:39pm by Amit Kumar
    Amit Kumar
    1,063 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Nick Fite
    Nick Fite
    11,168 Points

    Parse error for details page

    Posted March 17, 2017 3:06am by Nick Fite
    Nick Fite
    11,168 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Bence Szatmári
    Bence Szatmári
    9,235 Points

    I don't understand this.

    Posted September 27, 2016 11:16am by Bence Szatmári
    Bence Szatmári
    9,235 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    2 Answers

  • AVINASH KUMAR
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    AVINASH KUMAR
    Front End Web Development Techdegree Student 8,110 Points

    Unable to see the details page in browser.

    Posted June 20, 2016 7:52am by AVINASH KUMAR
    .a{fill-rule:evenodd;}techdegree
    AVINASH KUMAR
    Front End Web Development Techdegree Student 8,110 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    2 Answers

  • Hasan Can Terzi
    Hasan Can Terzi
    5,892 Points

    $_GET error

    Posted June 7, 2016 9:26am by Hasan Can Terzi
    Hasan Can Terzi
    5,892 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Trần Phúc
    Trần Phúc
    2,264 Points

    DISPLAY IN BROWSER WRONG

    Posted May 20, 2016 8:17am by Trần Phúc
    Trần Phúc
    2,264 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    3 Answers

  • filipepacheco
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    filipepacheco
    Full Stack JavaScript Techdegree Student 21,416 Points

    Playing with the code

    Posted May 19, 2016 7:35am by filipepacheco
    .a{fill-rule:evenodd;}techdegree
    filipepacheco
    Full Stack JavaScript Techdegree Student 21,416 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • mike cee
    mike cee
    7,302 Points

    undefined variable $item lil stuck please help

    Posted May 3, 2016 10:11pm by mike cee
    mike cee
    7,302 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    2 Answers

  • mike cee
    mike cee
    7,302 Points

    Displaying Item Details

    Posted May 3, 2016 8:54pm by mike cee
    mike cee
    7,302 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    4 Answers

  • Kohane Kagami
    Kohane Kagami
    12,390 Points

    How can I add a link to the details page?

    Posted April 15, 2016 8:30am by Kohane Kagami
    Kohane Kagami
    12,390 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    2 Answers

  • calvindiguidig
    PLUS
    calvindiguidig
    Courses Plus Student 4,388 Points

    Notice: Undefined index: director in /home/treehouse/workspace/details.php on line 69

    Posted February 28, 2016 7:36pm by calvindiguidig
    calvindiguidig
    Courses Plus Student 4,388 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    3 Answers

  • Aaron Grant
    Aaron Grant
    1,065 Points

    I have a question about the teachers notes.

    Posted February 26, 2016 5:22pm by Aaron Grant
    Aaron Grant
    1,065 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    1 Answer

  • Joe Elia
    Joe Elia
    552 Points

    [SOLVED] Remove extra Comma for last Author?

    Posted January 21, 2016 4:39am by Joe Elia
    Joe Elia
    552 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Displaying Item Details

    0 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.