Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

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

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

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
  • 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
    Jonathan Grieve
    91,254 Points

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

    Posted October 28, 2016 4:02pm by Jonathan Grieve
    Jonathan Grieve
    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.

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