+ 5

Help me guys . What is the difference between Mysql and Mysqli . And is the coding different too

mysql and mysqli

7th Mar 2017, 9:43 PM
Karuma Tendai
Karuma Tendai - avatar
3 odpowiedzi
+ 5
woow whats pdo can u help me with that
8th Mar 2017, 7:22 AM
Karuma Tendai
Karuma Tendai - avatar
0
In my mind mysqli is the upgrade version of mysql. I personnaly use PDO to communicate with SQL so Im not well know the different of these two.
7th Mar 2017, 10:17 PM
Geoffrey L
Geoffrey L - avatar
0
PDO is an object which do the same purpose that mySQL and mySQLi, which is communicate with database. That's a little bit like choose a tool to repair a house, you have different choices, I chose PDO but I could do the same with mySQL and mySQLi. PDO is more secure that mySQL functionalities but I didn't check about mySQLi cause I use to use PDO and it works for me :) So to tell you a little bit more about PDO is an object hosting some methods to secure SQL requests, that might be a little bit weird to use at first but with a little bit of practice that's a great tool :)
8th Mar 2017, 8:03 AM
Geoffrey L
Geoffrey L - avatar