Home » MYSQL » Mysql miscellaneous » Question
  1. What returns a string containing an error message?
    1. mysql_close()
    2. mysql_sqlstate()
    3. mysql_errno()
    4. mysql_error()
    5. 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.



Your comments will be displayed only after manual approval.