🤑 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

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

    This task seems to be missing info for the PDO

    Posted September 4, 2023 11:11pm by Qamar Ramzan
    Qamar Ramzan
    10,377 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
    Treehouse Project Reviewer

    Stuck on this code challenge!!

    Posted December 18, 2018 7:37pm by Amber Stevens
    .a{fill-rule:evenodd;}techdegree seal-36
    Amber Stevens
    Treehouse Project Reviewer
    • 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.

    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.