• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Edsel Talento
    Edsel Talento
    16,922 Points

    How to pass a value to a second optional parameter?

    Posted April 8, 2020 10:51am by Edsel Talento
    Edsel Talento
    16,922 Points
    • PHP
    • Object-Oriented PHP Basics
    • Building the Recipe
    • Associative Arrays

    1 Answer

  • Oliver Williams
    Oliver Williams
    6,278 Points

    syntax error unexpected ';'

    Posted December 21, 2016 11:11am by Oliver Williams
    Oliver Williams
    6,278 Points
    • PHP
    • Object-Oriented PHP Basics
    • Building the Recipe
    • Associative Arrays

    1 Answer

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 90,704 Points

    How does the script know about the measurements array?

    Posted September 7, 2016 8:38pm by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 90,704 Points
    • PHP
    • Object-Oriented PHP Basics
    • Building the Recipe
    • Associative Arrays

    1 Answer

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

    PUBLIC FUNCTION addIngredients

    Posted June 29, 2016 2:18pm by Trần Phúc
    Trần Phúc
    2,264 Points
    • PHP
    • Object-Oriented PHP Basics
    • Building the Recipe
    • Associative Arrays

    1 Answer

  • darrell mayson
    darrell mayson
    5,215 Points

    Keep getting "undefined variable: measurements" error.

    Posted May 30, 2016 2:19pm by darrell mayson
    darrell mayson
    5,215 Points
    • PHP
    • Object-Oriented PHP Basics
    • Building the Recipe
    • Associative Arrays

    2 Answers

  • Zeljko Porobija
    Zeljko Porobija
    11,490 Points

    My console shows no errors

    Posted May 29, 2016 5:15pm by Zeljko Porobija
    Zeljko Porobija
    11,490 Points
    • PHP
    • Object-Oriented PHP Basics
    • Building the Recipe
    • Associative Arrays

    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

  • Web Development
  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis

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

  • Perks
  • Treehouse for Libraries
  • Treehouse for Teams
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2022 Treehouse Island, Inc.