🤑 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
  • Cliff Jackson
    Cliff Jackson
    2,887 Points

    can anyone figure this?

    Posted October 15, 2018 10:42pm by Cliff Jackson
    Cliff Jackson
    2,887 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    2 Answers

  • Cliff Jackson
    Cliff Jackson
    2,887 Points

    Bummer: It doesn't look like my favorite flavor is being displayed on the screen. Please check your code and try again.?

    Posted October 15, 2018 8:19pm by Cliff Jackson
    Cliff Jackson
    2,887 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    2 Answers

  • Cliff Jackson
    Cliff Jackson
    2,887 Points

    Just on the point of giving up??

    Posted October 15, 2018 6:39pm by Cliff Jackson
    Cliff Jackson
    2,887 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    5 Answers

  • Cliff Jackson
    Cliff Jackson
    2,887 Points

    can't get function value to work?

    Posted October 15, 2018 4:11pm by Cliff Jackson
    Cliff Jackson
    2,887 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    3 Answers

  • Cliff Jackson
    Cliff Jackson
    2,887 Points

    Function problem?

    Posted October 13, 2018 12:51pm by Cliff Jackson
    Cliff Jackson
    2,887 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    2 Answers

  • Courage Tafadzwa Chesa
    Courage Tafadzwa Chesa
    5,308 Points

    Can you help me check how im getting it wrong?

    Posted August 28, 2018 9:23am by Courage Tafadzwa Chesa
    Courage Tafadzwa Chesa
    5,308 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Kevin Parine
    Kevin Parine
    2,402 Points

    Get command

    Posted June 12, 2018 1:36am by Kevin Parine
    Kevin Parine
    2,402 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Jonas Støvring
    Jonas Støvring
    5,229 Points

    I cant solve this one

    Posted February 6, 2018 2:59pm by Jonas Støvring
    Jonas Støvring
    5,229 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Jonas Støvring
    Jonas Støvring
    5,229 Points

    Cant seem to call the right function in this task

    Posted November 20, 2017 8:04pm by Jonas Støvring
    Jonas Støvring
    5,229 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Muhammad Waqar Yousaf Chaudhary
    PLUS
    Muhammad Waqar Yousaf Chaudhary
    Courses Plus Student 12,361 Points

    call the function and assign the return value

    Posted October 12, 2017 2:24pm by Muhammad Waqar Yousaf Chaudhary
    Muhammad Waqar Yousaf Chaudhary
    Courses Plus Student 12,361 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • scherwain massaquoi
    scherwain massaquoi
    10,561 Points

    What am i doing wrong?

    Posted September 28, 2017 4:12am by scherwain massaquoi
    scherwain massaquoi
    10,561 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    2 Answers

  • Seo Park
    Seo Park
    1,346 Points

    I don't know what's wrong with my code. Please help.

    Posted June 19, 2017 4:49am by Seo Park
    Seo Park
    1,346 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points

    What is my error?

    Posted June 12, 2017 12:35am by Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • channonhall
    channonhall
    12,247 Points

    Someone help me please ;-;

    Posted April 4, 2017 3:51am by channonhall
    channonhall
    12,247 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    2 Answers

  • Ioan Ionkov
    PLUS
    Ioan Ionkov
    Courses Plus Student 6,921 Points

    PHP function issue on a task

    Posted January 20, 2017 3:25pm by Ioan Ionkov
    Ioan Ionkov
    Courses Plus Student 6,921 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • shubhamkt
    shubhamkt
    11,675 Points

    bummer

    Posted November 13, 2016 3:13pm by shubhamkt
    shubhamkt
    11,675 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Simingaye Dube
    Simingaye Dube
    2,587 Points

    Call the function and assign the return value to a variable called $flavor.

    Posted June 14, 2016 7:44pm by Simingaye Dube
    Simingaye Dube
    2,587 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Simingaye Dube
    Simingaye Dube
    2,587 Points

    Add a command to retrieve the correct flavor.

    Posted June 14, 2016 5:36pm by Simingaye Dube
    Simingaye Dube
    2,587 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • jinhwa yoo
    jinhwa yoo
    10,042 Points

    what's wrong with code???

    Posted May 24, 2016 3:22pm by jinhwa yoo
    jinhwa yoo
    10,042 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Naison Masiyashe
    Naison Masiyashe
    2,736 Points

    how do i do it

    Posted May 6, 2016 7:46pm by Naison Masiyashe
    Naison Masiyashe
    2,736 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Naison Masiyashe
    Naison Masiyashe
    2,736 Points

    where am i going wrong on including the file

    Posted May 6, 2016 7:13pm by Naison Masiyashe
    Naison Masiyashe
    2,736 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • tejaswini vadnal
    tejaswini vadnal
    1,587 Points

    <?php $file = include('flavor.php'); echo "Randy's favorite flavor of ice cream is $file."; ?>

    Posted April 17, 2016 8:05pm by tejaswini vadnal
    tejaswini vadnal
    1,587 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Joshua Paulson
    Joshua Paulson
    37,085 Points

    Having trouble with this code challenge. It continues to tell me that task one is no longer passing but it should work.

    Posted March 3, 2016 7:18pm by Joshua Paulson
    Joshua Paulson
    37,085 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    2 Answers

  • Eitay Zilbershmidet
    Eitay Zilbershmidet
    3,942 Points

    You should have my favorite flavor of ice cream in a variable named $flavor, and now it's time to display it to the scre

    Posted February 28, 2016 4:54pm by Eitay Zilbershmidet
    Eitay Zilbershmidet
    3,942 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    2 Answers

  • Raju Kolte
    Raju Kolte
    3,110 Points

    Will try many ways but can't find right solution ? please help me

    Posted February 28, 2016 4:24am by Raju Kolte
    Raju Kolte
    3,110 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • MacKenzie T. Stout
    MacKenzie T. Stout
    23,972 Points

    How do I call a function from another file and assign it to a variable?

    Posted February 17, 2016 7:08am by MacKenzie T. Stout
    MacKenzie T. Stout
    23,972 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Alex Ryzhkov
    Alex Ryzhkov
    4,005 Points

    need help on this quastion The PHP file below displays a message about my favorite flavor of ice cream. Unfortunatel

    Posted February 10, 2016 5:25am by Alex Ryzhkov
    Alex Ryzhkov
    4,005 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • Bascarau Daniel
    Bascarau Daniel
    2,002 Points

    I don't understand the question

    Posted February 8, 2016 1:52pm by Bascarau Daniel
    Bascarau Daniel
    2,002 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

    1 Answer

  • James Barrett
    James Barrett
    13,253 Points

    What is wrong with my code? Build a PHP website review

    Posted February 3, 2016 11:10pm by James Barrett
    James Barrett
    13,253 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Listing and Sorting Inventory Items
    • Review Basics

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