Why one should not use mysql functions

1433189066000 MySQL MySQL(i)

by Start Bootstrap


The MySQL is officially depreciated and will be completely removed in php 7.

 

You can see the below given warning message in all posts of mysql functions in the php.net website.

mysql_depreciated

 

i.e.,

Warning : 

This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, theMySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide andrelated FAQ for more information. Alternatives to this function include:

Here is the beautiful answer about this topic.

 

And to be honest, I suggest everyone to use mysqli’s Object Oriented Style and it will make your code and you smart. And Never stick to w3school’s procedural style as it might make you to think less :)


Blog Search
Tags
  • Sysaxiom (4)
  • Github (8)
  • Windows (1)
  • php (25)
  • General Tips (0)
  • GoogleMaps (2)
  • Google App Script (1)
  • Heroku (4)
  • Laravel Middleware (1)
  • xampp (1)
  • Terminal (1)
  • TechCrunch (1)
  • Ubuntu (3)
  • MySQL (2)
Side Widget
can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!