🤑 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
  • 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,625 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,625 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.

    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.