🤑 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
  • Esmee Fulcher
    Esmee Fulcher
    923 Points

    Stuck on using prepare statement task 1

    Posted December 5, 2023 11:17am by Esmee Fulcher
    Esmee Fulcher
    923 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Matt Schulze
    Matt Schulze
    6,311 Points

    Bummer: Make sure the function is returning an array of members.

    Posted May 15, 2020 2:40am by Matt Schulze
    Matt Schulze
    6,311 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Jacob Wick
    Jacob Wick
    8,912 Points

    doubly stumped lol

    Posted July 28, 2019 9:59pm by Jacob Wick
    Jacob Wick
    8,912 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Jacob Wick
    Jacob Wick
    8,912 Points

    What's wrong with my WHERE clause here?

    Posted July 28, 2019 9:52pm by Jacob Wick
    Jacob Wick
    8,912 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Sean Maloney
    PLUS
    Sean Maloney
    Courses Plus Student 3,824 Points

    Why isn't this code working?

    Posted June 8, 2018 1:38am by Sean Maloney
    Sean Maloney
    Courses Plus Student 3,824 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    2 Answers

  • Ray Knag
    Ray Knag
    8,110 Points

    Change the query to a prepared statement that binds the passed argument before executing the query.

    Posted July 25, 2017 6:09pm by Ray Knag
    Ray Knag
    8,110 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Thomas Morling
    Thomas Morling
    12,754 Points

    PDO prepared statement. I am stumped on member_id single argument. What is being asked?

    Posted June 18, 2017 12:28am by Thomas Morling
    Thomas Morling
    12,754 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • ryota kurazono
    PLUS
    ryota kurazono
    Courses Plus Student 4,248 Points

    I got stuck!

    Posted May 17, 2017 4:15pm by ryota kurazono
    ryota kurazono
    Courses Plus Student 4,248 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Robert Valencia
    PLUS
    Robert Valencia
    Courses Plus Student 3,735 Points

    I am getting the message: “Your function should accept 1 argument for member_id.” Could someone provide sample code?

    Posted March 15, 2017 5:30pm by Robert Valencia
    Robert Valencia
    Courses Plus Student 3,735 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Matthew Kay
    Matthew Kay
    8,383 Points

    After completeing a challenge I want to look at my code but the system moves on straight away. Very frustrating.

    Posted January 27, 2017 2:12am by Matthew Kay
    Matthew Kay
    8,383 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Stu Parker
    Stu Parker
    4,814 Points

    PHP/SQL prepared statements

    Posted December 16, 2016 7:50pm by Stu Parker
    Stu Parker
    4,814 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    2 Answers

  • JAVIER MATHEU
    JAVIER MATHEU
    19,456 Points

    bind

    Posted November 22, 2016 2:20am by JAVIER MATHEU
    JAVIER MATHEU
    19,456 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Victoria Loisi
    Victoria Loisi
    7,070 Points

    Adding a WHERE clause but it still results in error

    Posted September 3, 2016 3:20pm by Victoria Loisi
    Victoria Loisi
    7,070 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    4 Answers

  • Joshua Esmero
    Joshua Esmero
    10,571 Points

    Issue with question 3 - Answer should be correct, but it is not recognised

    Posted July 13, 2016 9:47am by Joshua Esmero
    Joshua Esmero
    10,571 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Naison Masiyashe
    Naison Masiyashe
    2,736 Points

    how do i go about this,i dont even understand the requirements of the question

    Posted June 24, 2016 5:05pm by Naison Masiyashe
    Naison Masiyashe
    2,736 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Juan Pablo De Alba Venegas
    Juan Pablo De Alba Venegas
    5,022 Points

    What's wrong? WHERE clause is not working

    Posted June 20, 2016 5:52pm by Juan Pablo De Alba Venegas
    Juan Pablo De Alba Venegas
    5,022 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

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

    Add WHERE CLAUSE

    Posted June 4, 2016 11:27am by Trần Phúc
    Trần Phúc
    2,264 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    3 Answers

  • Alfredo Prince
    Alfredo Prince
    6,175 Points

    Why is it giving me this error?

    Posted May 27, 2016 7:36pm by Alfredo Prince
    Alfredo Prince
    6,175 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Juan Miguel Mendez Carrera
    Juan Miguel Mendez Carrera
    3,953 Points

    Problem with prepared statement task

    Posted May 17, 2016 4:47pm by Juan Miguel Mendez Carrera
    Juan Miguel Mendez Carrera
    3,953 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    2 Answers

  • Jack Wilson
    Jack Wilson
    4,929 Points

    Call to undefined method

    Posted May 17, 2016 12:12am by Jack Wilson
    Jack Wilson
    4,929 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • Robert Stamate
    Robert Stamate
    13,227 Points

    I really don't get it.

    Posted May 14, 2016 2:46pm by Robert Stamate
    Robert Stamate
    13,227 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    3 Answers

  • Francis Ansu
    Francis Ansu
    4,326 Points

    how can I change the function to select a single member from member_id

    Posted May 14, 2016 2:11pm by Francis Ansu
    Francis Ansu
    4,326 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    5 Answers

  • Jorge Torres
    Jorge Torres
    930 Points

    Error on your validation

    Posted April 27, 2016 9:53pm by Jorge Torres
    Jorge Torres
    930 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    1 Answer

  • noah finnerman
    noah finnerman
    15,380 Points

    Change the query to a prepared statement that binds the passed argument before executing the query. this should work

    Posted April 27, 2016 8:04pm by noah finnerman
    noah finnerman
    15,380 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    4 Answers

  • Jamie Touton
    Jamie Touton
    7,051 Points

    Challenge Task 2 of 3: Add a WHERE clause to accept only the member that matches the passed member_id.

    Posted April 26, 2016 4:23pm by Jamie Touton
    Jamie Touton
    7,051 Points
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement

    3 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.