Course 3: Talking to a MySQL Database in PHP
Querying for One Pet
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

What's the significance of using the fetch() method instead of fetchAll() with the following query (which will always match exactly 1 or 0 rows):

SELECT * FROM product WHERE id = 1

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.