-
What returns a string containing an error message?
-
- mysql_close()
- mysql_sqlstate()
- mysql_errno()
- mysql_error()
- None of these
Correct Option: D
The API call named ‘mysql_error()’ returns a string containing an error message. ‘mysql_close()’ does not return any value at all. ‘mysql_errno()’ returns a MySQL-specific numeric code.