1.

Which method returns the error code generated from the execution of the last MySQL function?(a) errno()(b) errnumber()(c) errorno()(d) errornumber()I have been asked this question in unit test.My query is from Working with Databases-1 topic in section Objects and Databases in PHP of PHP

Answer»

Correct answer is (a) errno()

EXPLANATION: Error numbers are often USED in lieu of natural-language message to ease software INTERNATIONALIZATION efforts and ALLOW for customization of error messages.



Discussion

No Comment Found

Related InterviewSolutions