1.

Which of these returns a string containing an error message?(a) mysql_error()(b) mysql_errno()(c) mysql_sqlstate()(d) mysql_close()

Answer» The correct answer is (a) mysql_error()

To elaborate: 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.


Discussion

No Comment Found