-
For failure, mysql_query() returns _______________.
-
- -1
- a non-zero
- 1
- 0
- None of these
Correct Option: B
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.