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

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