-
What does ‘mysql_query()’ return on failure?
-
- a non-zero value
- -1
- 1
- 0
- None of these
Correct Option: A
Both of the functions named ‘mysql_query()’ and ‘mysql_real_query()’ return zero for statements that succeed. They return non zero for failure. A statement is successfully executed if the server accepts it.