HP Post

How to hide ONLY MySQL Deprecated Warning

If you are a php developer who still using MySQL instead of MySQLi or PDO and recently updated to a latest version of Local Server then you might be familiar with this error.

Deprecated: The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead...

And If so, then you might want to hide this error. First of all, if you don’t know what this error is about, then let me inform you that this is not an “Error”. Its just a warning saying that you need to use MySQLi or PDO extensions because MySQL extension will be removed in the future and your code will become useless. (more…)

Read More