Skip to main content

🚀 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
  • Qamar Ramzan
    Qamar Ramzan
    10,397 Points

    This task seems to be missing info for the PDO

    Posted September 4, 2023 11:11pm by Qamar Ramzan
    Qamar Ramzan
    10,397 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Jeremy Dyck
    Jeremy Dyck
    12,013 Points

    Return all items from database.

    Posted July 11, 2023 5:02pm by Jeremy Dyck
    Jeremy Dyck
    12,013 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Steve Berrill
    Steve Berrill
    20,016 Points

    help with this code (fetchAll(PDO::FETCH_OBJ))

    Posted January 2, 2023 7:28pm by Steve Berrill
    Steve Berrill
    20,016 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Hugo Zaanen
    Hugo Zaanen
    11,897 Points

    Use pdo the execute sql query

    Posted October 18, 2020 8:13pm by Hugo Zaanen
    Hugo Zaanen
    11,897 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • Eric Nerby
    Eric Nerby
    36,267 Points

    Unsure how to set up MySQL RepositoryInterface

    Posted August 6, 2020 8:53pm by Eric Nerby
    Eric Nerby
    36,267 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • Unsubscribed User
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Unsubscribed User
    PHP Development Techdegree Student 2,477 Points

    Getting "Bummer: Make sure you are using a prepared statement" although i am.

    Posted February 5, 2020 11:19am by Unsubscribed User
    .a{fill-rule:evenodd;}techdegree
    Unsubscribed User
    PHP Development Techdegree Student 2,477 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • ROBERT RUBY II
    ROBERT RUBY II
    10,586 Points

    Okie dokie, What am I missing here in my find() function. Getting array of NULLS

    Posted January 20, 2020 7:48pm by ROBERT RUBY II
    ROBERT RUBY II
    10,586 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • ROBERT RUBY II
    ROBERT RUBY II
    10,586 Points

    Uncaught Error: 'sqlRepository' not found

    Posted January 20, 2020 7:20pm by ROBERT RUBY II
    ROBERT RUBY II
    10,586 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • Viktor Kelemen
    Viktor Kelemen
    3,747 Points

    Whats wrong here?

    Posted November 18, 2019 7:08am by Viktor Kelemen
    Viktor Kelemen
    3,747 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Unsubscribed User
    Unsubscribed User
    8,428 Points

    How to use PDO inside of child of PDO?

    Posted November 13, 2019 6:59pm by Unsubscribed User
    Unsubscribed User
    8,428 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • Kyle Peterson
    PLUS
    Kyle Peterson
    Courses Plus Student 2,118 Points

    Can't create parameterized query.

    Posted August 23, 2019 10:32pm by Kyle Peterson
    Kyle Peterson
    Courses Plus Student 2,118 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Kyle Peterson
    PLUS
    Kyle Peterson
    Courses Plus Student 2,118 Points

    Not enough info

    Posted August 23, 2019 9:05pm by Kyle Peterson
    Kyle Peterson
    Courses Plus Student 2,118 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Amber Stevens
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Amber Stevens
    Front End Web Development Techdegree Graduate 32,856 Points

    Stuck on this code challenge!!

    Posted December 18, 2018 7:37pm by Amber Stevens
    .a{fill-rule:evenodd;}techdegree seal-36
    Amber Stevens
    Front End Web Development Techdegree Graduate 32,856 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • Gerard Hattem
    Gerard Hattem
    1,807 Points

    What is the password and user and database to create a database connection with PDO

    Posted September 28, 2018 1:31pm by Gerard Hattem
    Gerard Hattem
    1,807 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Robert Anthony
    Robert Anthony
    19,952 Points

    There does not seem to be enough information to complete this task - or am I missing something?

    Posted April 28, 2018 7:46am by Robert Anthony
    Robert Anthony
    19,952 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • Eric Drake
    Eric Drake
    6,339 Points

    This challenge never specifies a host or database name to which to connect. Did I miss something?

    Posted March 7, 2018 7:25pm by Eric Drake
    Eric Drake
    6,339 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Zdenek Krcal
    Zdenek Krcal
    49,910 Points

    How can I use mysql connection when I don't know username, password and server for connection?

    Posted March 6, 2018 4:01pm by Zdenek Krcal
    Zdenek Krcal
    49,910 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    2 Answers

  • annapoff
    annapoff
    13,552 Points

    I'm not sure what I'm missing here...

    Posted February 21, 2018 1:53am by annapoff
    annapoff
    13,552 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    2 Answers

  • Sebastian Pikand
    Sebastian Pikand
    13,987 Points

    Stuck with extending PDO (php interfaces course)

    Posted January 16, 2018 5:49pm by Sebastian Pikand
    Sebastian Pikand
    13,987 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • ac va
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ac va
    iOS Development Techdegree Student 5,061 Points

    problem with prepare statement PDO

    Posted January 14, 2018 2:59pm by ac va
    .a{fill-rule:evenodd;}techdegree
    ac va
    iOS Development Techdegree Student 5,061 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • David Evans
    David Evans
    10,490 Points

    Stuck on Challenge for Implementing Interfaces

    Posted January 6, 2018 5:37am by David Evans
    David Evans
    10,490 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    2 Answers

  • Mohammed sameer khan
    Mohammed sameer khan
    881 Points

    create a class named 'sqlRepository' that extends the PDO class and implements the 'RepositoryInterface'.

    Posted September 20, 2017 6:18am by Mohammed sameer khan
    Mohammed sameer khan
    881 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • Julie Dowler
    Julie Dowler
    7,851 Points

    I'm stumped on this one...

    Posted September 18, 2017 8:14am by Julie Dowler
    Julie Dowler
    7,851 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    7 Answers

  • mcutz
    mcutz
    8,063 Points

    PHP Interfaces, really bad challenge, does not provide enough info. How to prepare statement?

    Posted September 13, 2017 9:53am by mcutz
    mcutz
    8,063 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    5 Answers

  • Denis Volkov
    Denis Volkov
    47 Points

    What database should i Use? There're no dbname, db server, user and pass anywhere!

    Posted September 12, 2017 6:30pm by Denis Volkov
    Denis Volkov
    47 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    0 Answers

  • Michel Angeles Ortiz
    Michel Angeles Ortiz
    1,358 Points

    I am not sure how can i bind the paramaters for a php call to the database.

    Posted September 11, 2017 4:05pm by Michel Angeles Ortiz
    Michel Angeles Ortiz
    1,358 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • John Shockey
    John Shockey
    45,061 Points

    Stuck on Challenge Task 3; Uncaught Error: Call to a member function bindParam() on boolean in sqlRepository.php:14

    Posted September 7, 2017 9:45pm by John Shockey
    John Shockey
    45,061 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    1 Answer

  • John Shockey
    John Shockey
    45,061 Points

    Challenge Task 2 makes no sense. What is the name of the MySQL database table passed to the method?

    Posted September 7, 2017 4:41pm by John Shockey
    John Shockey
    45,061 Points
    • PHP
    • Designing Interfaces in PHP
    • Introducing Interfaces
    • Implement MySQL RepositoryInterface

    2 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