0

DIFFERENCES IN PHP CONNECTION TO MYSQL DB

I am a newbie in php, but I got to know that there are three ways of connecting php to MySQL which are MySQLi(object-oriented), MySQLi(procedural) and PDO. I want to know which one I need to learn as a starter and also for writing complex programs.

18th Oct 2016, 6:58 PM
Sessah-Odai Sadick
Sessah-Odai Sadick - avatar
1 Answer
+ 1
PDO is the best by today's standards. It is also oriented object and easier to use.
29th Oct 2016, 4:04 PM
Nicolas Dussault-Pilon
Nicolas Dussault-Pilon - avatar