Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPaul Yabsley
46,713 PointsIncorrect question, stage 3, PHP & Databases with PDO
Hi, I think there is an error on the PDO Database Security quiz.
http://teamtreehouse.com/library/php-databases-with-pdo/pdo-database-security/pdo-security-2
It is asking: What do I need to call on a PDOStatement object after I've bound the parameters?
The answer it accepted for me was exec() but I believe it should be execute().
Ricky Catron
13,023 PointsAfter looking into the documentation I believe you are correct as well. Hampton Paulk
1 Answer
Hampton Paulk
5,093 PointsGood Catch! All fixed now. Thanks again.
Matt Bowlby
8,806 PointsMatt Bowlby
8,806 PointsI ran into the same issue and I agree with you. In my opinion, the answer should be execute().