TheAlmightyOS Posted November 14, 2014 Share Posted November 14, 2014 Hello all. I have come here to the source of web standards to understand PHP and the API's it uses to access databases. From my reading (why yes, I do know how to use google ) it seems both MySQLi and PDO are acceptable methods. Other than the boatload of "experts" on various forums and blogs shouting that MySQLi is depreciated, is there any real indication that it is? Now I don't want to start a MySQLi Vs PDO thread. I just want to know if MySQLi is still an acceptable API to use Link to comment Share on other sites More sharing options...
Ingolme Posted November 14, 2014 Share Posted November 14, 2014 It's acceptable to use MySQLi. PDO is just newer and probably better. The original MySQL library for PHP is deprecated because it doesn't have support for prepared statements, transactions or other features. The page you linked to has a good breakdown of the features, which is what you should consider when choosing an API for your project. Link to comment Share on other sites More sharing options...
TheAlmightyOS Posted November 15, 2014 Author Share Posted November 15, 2014 (edited) Thank you for the straight forward answer. I think I know how I am going to move forward on my project now. Thank you. New here (obviously), is there a "solved" link or something I need to push? Edited November 15, 2014 by TheAlmightyOS Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now