Eggzorcist Posted August 23, 2012 Share Posted August 23, 2012 Hi there, I'm fairly new to OOP, but not PDO. I was wondering what is the best practice for using PDO inside an object? Should I use my try-catch inside my construct? Though I use the database for all objects so what's the best way? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/267484-pdo-inside-an-object/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.