PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 283 All time: 7,583 This week: 455Up
Version License PHP version Categories
sqlquerypdo 1.0.0GNU General Publi...7Databases, PHP 7
Description 

Author

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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:283
This week:0
All time:7,583
This week:455Up