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 trial

PHP Using PHP with MySQL Limiting Records in SQL Queries Using LIMIT with Offset

This 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.

Hi 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 :-)

2 Answers

Looking 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
Jonathan Woodbury
12,711 Points

That really is a poorly written question. I had not idea what it was talking about either. Thank you for your help.