What are the 3 different ways in PHP to connect with MySQL?

Last updated 2 years, 5 months ago | 790 views 75     5

Tags:- MySQL

The three different way in PHP to connect with MySQL is:

  1. MySQL
  2. MySQLI
  3. PDO

Note: We should use MySQLI because MySQLI is imporoved version of MySQL and have more function then MySQL.