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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Sam Durigon
    Sam Durigon
    4,724 Points

    How is this not an optional parameter?

    Posted August 25, 2024 4:00pm by Sam Durigon
    Sam Durigon
    4,724 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Fat Media
    Fat Media
    5,050 Points

    Error: You should only filter if the parameter is true? I'm not sure how this is wrong.

    Posted April 7, 2020 10:44am by Fat Media
    Fat Media
    5,050 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    0 Answers

  • Fat Media
    Fat Media
    5,050 Points

    I just get this error over and over: PHP Notice: Undefined index: first_name in bf6be474-1aba-4cff-b220-654d69425e76.php

    Posted April 7, 2020 10:10am by Fat Media
    Fat Media
    5,050 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Eric Drake
    Eric Drake
    6,339 Points

    Parameter should be optional error in CRUD Operations with PHP: Task 2 of 2

    Posted February 21, 2020 8:38pm by Eric Drake
    Eric Drake
    6,339 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • ROBERT RUBY II
    ROBERT RUBY II
    10,586 Points

    Whats wrong here?

    Posted January 3, 2020 7:43am by ROBERT RUBY II
    ROBERT RUBY II
    10,586 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    2 Answers

  • Tatenda Andrew Kwandara
    Tatenda Andrew Kwandara
    18,322 Points

    Add an OPTIONAL parameter to accept if the function should return only people who have been Treehouse teachers. If the p

    Posted March 19, 2019 1:01pm by Tatenda Andrew Kwandara
    Tatenda Andrew Kwandara
    18,322 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Shari Staten
    Shari Staten
    11,540 Points

    HELP PLEASE!!! Struggling with this challenge.

    Posted January 23, 2019 2:19am by Shari Staten
    Shari Staten
    11,540 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Courage Tafadzwa Chesa
    Courage Tafadzwa Chesa
    5,308 Points

    i need your help i dont know what to do

    Posted October 2, 2018 8:01am by Courage Tafadzwa Chesa
    Courage Tafadzwa Chesa
    5,308 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Calvin . T Rupango
    Calvin . T Rupango
    6,083 Points

    filtering data

    Posted October 1, 2017 6:33am by Calvin . T Rupango
    Calvin . T Rupango
    6,083 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    2 Answers

  • Tinashe Zikatih
    Tinashe Zikatih
    5,598 Points

    guys please please help im totally stuck my head is spinning

    Posted September 14, 2017 3:55pm by Tinashe Zikatih
    Tinashe Zikatih
    5,598 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    2 Answers

  • Ryan Leenay
    Ryan Leenay
    12,504 Points

    prepare Statement is triggering SQL error

    Posted June 30, 2017 3:19am by Ryan Leenay
    Ryan Leenay
    12,504 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    0 Answers

  • Ryan Leenay
    Ryan Leenay
    12,504 Points

    Optinal Param fails

    Posted June 25, 2017 11:33pm by Ryan Leenay
    Ryan Leenay
    12,504 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • tinashegondokondo
    PLUS
    tinashegondokondo
    Courses Plus Student 13,579 Points

    Can someone please assit - Add an OPTIONAL parameter to accept if the function should return only people who have

    Posted May 27, 2017 4:31am by tinashegondokondo
    tinashegondokondo
    Courses Plus Student 13,579 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Raman Matthew
    Raman Matthew
    6,127 Points

    Add an OPTIONAL parameter to accept if the function should return only people who have been Treehouse teachers. If the p

    Posted May 11, 2017 9:42am by Raman Matthew
    Raman Matthew
    6,127 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    4 Answers

  • anil sirpal
    anil sirpal
    4,091 Points

    CRUD operations PHP optional parameters (whats wrong with my code)?

    Posted December 21, 2016 1:33pm by anil sirpal
    anil sirpal
    4,091 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Alexandre Santos
    Alexandre Santos
    31,153 Points

    How can i add optional parameters? I'm stuck on this exercise

    Posted November 17, 2016 12:37pm by Alexandre Santos
    Alexandre Santos
    31,153 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Delroy Lucan Muyambo
    Delroy Lucan Muyambo
    5,445 Points

    CRUD operations with php

    Posted November 4, 2016 9:44am by Delroy Lucan Muyambo
    Delroy Lucan Muyambo
    5,445 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Delroy Lucan Muyambo
    Delroy Lucan Muyambo
    5,445 Points

    CRUD operations with php

    Posted November 2, 2016 10:29am by Delroy Lucan Muyambo
    Delroy Lucan Muyambo
    5,445 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 91,254 Points

    Task 1: Not retrieving the correct details from the database.

    Posted October 28, 2016 4:02pm by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 91,254 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    2 Answers

  • Devin Gray
    Devin Gray
    39,261 Points

    Filtering Data with PHP: Why is this wrong?

    Posted October 8, 2016 8:45pm by Devin Gray
    Devin Gray
    39,261 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    2 Answers

  • Lewis Cowles
    Lewis Cowles
    74,902 Points

    optional PDO parameters

    Posted September 17, 2016 12:10pm by Lewis Cowles
    Lewis Cowles
    74,902 Points
    • PHP
    • CRUD Operations with PHP
    • Reading and Writing Reports
    • Filtering Data

    1 Answer

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.