PHP Classes

PHP SQL Query PDO: Run common SQL queries with PDO using parameters

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 281 All time: 7,566 This week: 209Up
Version License PHP version Categories
sqlquerypdo 1.0.0GNU General Publi...7Databases, PHP 7


This class can run common SQL queries with PDO using parameters.

It can access a database using a database connection handle passed to the class as parameter.

The class can execute several types of SQL queries like SELECT, INSERT, UPDATE and DELETE using parameters passed to class functions that define table names, field names and values and condition clauses.

It can throw an exception when invalid values are passed to the class functions.

This class is part of the Lectric Framework.
Great package but it would be better if you could also provides examples as separate script files, as well some documentation files like for instance a detailed README files with sample code with explanations.

What do you think?

Please reply to this message if you questions or you need more help on how to be a great contributor like many other developers.

Picture of Elliott Barratt
Name: Elliott Barratt <contact>
Classes: 1 package by
Country: United Kingdom
Age: ???
All time rank: 3860165 in United Kingdom
Week rank: 483 Up20 in United Kingdom Up

  Files folder image Files  
File Role Description
Plain text file SQLQueryPDO.class.php Class SQLQueryPDO

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,566
This week:209Up