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

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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

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

  • 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
    • 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
  • 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
    • Showing results for:
    • PHP
    • Integrating PHP with Databases
    • Using Relational Tables
    • Using a Prepared Statement
    • Close
  • Esmee Fulcher
    Esmee Fulcher
    923 Points

    Stuck on using prepare statement task 1

    Posted on Dec 5, 2023 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 on May 15, 2020 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 on Jul 28, 2019 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 on Jul 28, 2019 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 on Jun 8, 2018 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 on Jul 25, 2017 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 on Jun 18, 2017 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 on May 17, 2017 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 on Mar 15, 2017 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 on Jan 27, 2017 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 on Dec 16, 2016 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 on Nov 22, 2016 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 on Sep 3, 2016 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 on Jul 13, 2016 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 on Jun 24, 2016 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 on Jun 20, 2016 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 on Jun 4, 2016 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 on May 27, 2016 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 on May 17, 2016 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 on May 17, 2016 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 on May 14, 2016 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 on May 14, 2016 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 on Apr 27, 2016 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 on Apr 27, 2016 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 on Apr 26, 2016 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.