1.

If there is no error, then what will the error() method return?(a) TRUE(b) FALSE(c) Empty String(d) 0This question was posed to me by my college professor while I was bunking the class.My doubt is from Working with Databases-1 in division Objects and Databases in PHP of PHP

Answer» RIGHT choice is (C) Empty String

The BEST explanation: The function error is used to deal with error handling and logging. If there is no error, then the error() METHOD will RETURN an empty string.


Discussion

No Comment Found

Related InterviewSolutions