My PDO Wrapper Class
I've made a PDO Wrapper Class.
And ofcourse, you can also run free form queries.
PDO prepared statements are used here, so.... We have an advantage
Thanks to the original source : https://github.com/mikehenrty/thin-pdo-wrapper
I modified it and added a lot more features.
Here is the class source : http://www.scriptings.tk/paste/51e75be5656cb
Here is the sample test : http://www.scriptings.tk/paste/51e758a96d3c4
Any changes that are to be made?? Please suggest.
You're welcome to criticize.
I'll use it later on for a huge project.
Thanks for reading. Enjoy PHP!!!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread