07-27-2016, 02:51 PM
Userspice is already written using PDO so you just need to follow the documentation on this page to make your queries...
http://userspice.org/documentation-db-class-2/
http://userspice.org/documentation-db-class-2/