Write the reason you're deleting this FAQ
Deprecated: The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in ...
Have you ever been on a website and saw this message somewhere, or your own website has this error? Ever wondered what this message means, and if you could fix it yourself? Maybe perhaps you thought there was a problem with your internet or web browser?
This error is actually thrown because as of PHP 5.5.0 the ext/mysql PHP extension including all mysql functions are deprecated and will be removed in PHP 7 as stated by PHP.
How to fix this error?
The typical way to fix this error would be to use mysqli or PDO instead of mysql function. You could keep on using PHP 5.5 if your server still uses it, but for security purposes and vulnerability issues you should update to the latest version of PHP which is PHP 7.
This error is becoming quite common now, and I am seeing this error a lot, not only on some highly popular sites, but also some government sites believe it or not.
How do I update to mysqli from mysql?
Basically a quick fix, one that I really don't recommend is to change all the mysql functions to mysqli. Sometimes you'll get errors, so you will need to program more lines of code to get the code working again. Also, some functions are removed as of PHP 7 which you may be using, you can find a list of those functions on the PHP site.
Hope this discussions helps you understand a little about this error, didn't want to include heavy terminology in case there was newbie coders here, some of you still may not get this so Google will be your best friend.