R

Ram Avtar Sharma • 4.50K Points
Extraordinary

Q. What does mysql_query() return on failure?

  • (A) 0
  • (B) 1
  • (C) -1
  • (D) a non-zero

Explanation by: Ram Avtar Sharma
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.