Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Kristopher Hutchison
    Kristopher Hutchison
    2,450 Points

    Challenge says $flavor is not being echoed. I'm pretty sure my answer is correct. Could this be a bug?

    Posted May 1, 2016 8:37pm by Kristopher Hutchison
    Kristopher Hutchison
    2,450 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    1 Answer

  • Vidit Shah
    Vidit Shah
    6,037 Points

    flavor.php

    Posted August 22, 2015 8:12pm by Vidit Shah
    Vidit Shah
    6,037 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    1 Answer

  • MUZ140610 Tinashe Marunda
    MUZ140610 Tinashe Marunda
    7,028 Points

    The flavor.php include file contains a function named get_flavor. That function receives no arguments, and it returns a

    Posted June 17, 2015 6:28pm by MUZ140610 Tinashe Marunda
    MUZ140610 Tinashe Marunda
    7,028 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

  • MUZ140610 Tinashe Marunda
    MUZ140610 Tinashe Marunda
    7,028 Points

    help

    Posted June 10, 2015 2:11pm by MUZ140610 Tinashe Marunda
    MUZ140610 Tinashe Marunda
    7,028 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    1 Answer

  • MUZ140018 Sibusisosenkosi Moyo
    MUZ140018 Sibusisosenkosi Moyo
    8,693 Points

    guys i need your help

    Posted May 18, 2015 2:06pm by MUZ140018 Sibusisosenkosi Moyo
    MUZ140018 Sibusisosenkosi Moyo
    8,693 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

  • Juliette Tworsey
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,628 Points

    Challenge 2 of 3, Enhancing a Simple PHP Application

    Posted April 20, 2015 10:10pm by Juliette Tworsey
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,628 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

  • Sajid Latif
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sajid Latif
    Full Stack JavaScript Techdegree Student 22,368 Points

    Return value. I think I need som { } somewhere...

    Posted April 1, 2015 5:57pm by Sajid Latif
    .a{fill-rule:evenodd;}techdegree
    Sajid Latif
    Full Stack JavaScript Techdegree Student 22,368 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

  • Willie Allison
    Willie Allison
    2,035 Points

    task two on intermediate PHP, how do you call the function and assign it to the variable?

    Posted February 6, 2015 5:37pm by Willie Allison
    Willie Allison
    2,035 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

  • Michael Lazarz
    Michael Lazarz
    15,135 Points

    How to call a predefined function

    Posted February 5, 2015 11:03pm by Michael Lazarz
    Michael Lazarz
    15,135 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    3 Answers

  • MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points

    stage 1 challenge 1

    Posted January 19, 2015 12:28pm by MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    1 Answer

  • Ian Hilton
    Ian Hilton
    6,223 Points

    Stuck on stupid here. How do I call a function and assign the return value to a variable?

    Posted October 31, 2014 11:11pm by Ian Hilton
    Ian Hilton
    6,223 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    0 Answers

  • Andrew McCombs
    Andrew McCombs
    4,309 Points

    Help Challenge 3 of 3

    Posted August 19, 2014 9:18pm by Andrew McCombs
    Andrew McCombs
    4,309 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    3 Answers

  • Ilya Liverts
    Ilya Liverts
    9,677 Points

    Can't solve second task.

    Posted August 1, 2014 6:58pm by Ilya Liverts
    Ilya Liverts
    9,677 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

  • daniwao
    daniwao
    13,125 Points

    How to call a function from different .php file!

    Posted June 26, 2014 8:10pm by daniwao
    daniwao
    13,125 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

  • Jonathan Pyle
    Jonathan Pyle
    10,815 Points

    Integrating Validation Errors (1/3)

    Posted June 6, 2014 5:04pm by Jonathan Pyle
    Jonathan Pyle
    10,815 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

  • Jason Slabbers
    Jason Slabbers
    4,447 Points

    Can't get return value of get_flavor.

    Posted May 4, 2014 2:06pm by Jason Slabbers
    Jason Slabbers
    4,447 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    4 Answers

  • Hernán Garzón
    Hernán Garzón
    6,605 Points

    Code review

    Posted April 22, 2014 3:40pm by Hernán Garzón
    Hernán Garzón
    6,605 Points
    • PHP
    • Enhancing a Simple PHP Application
    • Integrating Validation Errors
    • Reviewing PHP Basics

    2 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord