Home » MYSQL » Mysql Error handling » Question
  1. Which of the following returns a MySQL-specific numeric code?
    1. mysql_close()
    2. mysql_sqlstate()
    3. mysql_error()
    4. mysql_errno()
    5. None of these
Correct Option: D

The API call named ‘mysql_errorno()’ returns a MySQL-specific numeric error code. ‘mysql_error()’ returns a string containing an error message. ‘mysql_close()’ does not return any value at all.



Your comments will be displayed only after manual approval.