Will php error reporting also display mysql errors?
Solution:1
No, because die() prints the string and exit. This has nothing to do with *error_reporting*. For production environment you should think about a logger to write such message to a file or somewhere, instead of printing it.