learning_zombie Posted August 11, 2008 Share Posted August 11, 2008 I'm learning to use a mysqldatabase with php at the moment, but I don't know what method I should use. the old mysql way looks like a tousend times easier to learn than the PDO crap, and use less code so is there any reason at all I should use PDO instead of the old mysql way? Link to comment https://forums.phpfreaks.com/topic/119134-what-shall-i-choosemysqlmysqlipdo/ Share on other sites More sharing options...
DarkWater Posted August 11, 2008 Share Posted August 11, 2008 PDO is OOP-based, cleaner, less error-prone (it's tested, etc), and it is database independent. Now, I'd personally write up my own DBAL for reuse in all applications I work with if I didn't want to/couldn't use PDO. Link to comment https://forums.phpfreaks.com/topic/119134-what-shall-i-choosemysqlmysqlipdo/#findComment-613428 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.