youngboy84 Posted April 7, 2013 Share Posted April 7, 2013 I am tring to learn about PDO people have said its easy and the best way to interact with the database, but im not finding it easy. can any help? Should i have my connection in its own class and extend it to the rest of my classes or should i use a global variable to connect? or is there another way better? i read up about the try and catch method not very good either. my database is mysql Quote Link to comment https://forums.phpfreaks.com/topic/276649-what-is-the-best-way-to-connect-to-my-database-with-pdo/ 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.