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 trialTao W
3,655 PointsThis is an open question, however, it is also very vague and I have no idea what kind of answer is expected here
Please clarify the question thx.
2 Answers
Iain Simmons
Treehouse Moderator 32,305 PointsLooking at the quiz question you've attached this forum post to, I believe it is asking you to indicate what the data type for the placeholder variable '?' would be in that prepared statement.
You can refer to the PDOStatement::bindParam documentation in the PHP manual.
I don't want to give the exact answer on the forums, but have a look at the Example #2 on that manual page. It will be something with the prefix PDO::PARAM_
Jonathan Woodbury
12,711 PointsThat really is a poorly written question. I had not idea what it was talking about either. Thank you for your help.
thomascawthorn
22,986 Pointsthomascawthorn
22,986 PointsHi Tao W
I think your description of the question you're referring to is just as vague!
For the best chance of getting a good answer, It's good to post the question you're trying to answer plus the answer(s) you've attempted :-)