A

Admin • 833.24K Points
Coach

Q. What does mysql_query() return on failure?

  • (A) 0
  • (B) 1
  • (C) -1
  • (D) a non-zero
  • Correct Answer - Option(D)
  • Views: 30
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

This question is about how MySQL tells you if a query failed. Think of it like trying to open a door. Sometimes it opens (success!), and sometimes it doesn't (failure!).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.