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 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
Archived
This topic is now archived and is closed to further replies.