![](http://www.studyzone4u.com/assets/image/ads6.jpg)
What are the 3 different ways in PHP to connect with MySQL?
Last updated 5 years, 10 months ago | 1704 views 75 5
![Card image](/static/app-assets/images/sz4u-cover.jpg)
The three different way in PHP to connect with MySQL is:
- MySQL
- MySQLI
- PDO
Note: We should use MySQLI because MySQLI is imporoved version of MySQL and have more function then MySQL.