PHP Classes

MpQuery: Prepare and execute MySQL database queries

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 enough user ratingsTotal: 305 All time: 7,344 This week: 1,205Up
Version License PHP version Categories
mpquery 1.0Freeware5.0PHP 5, Databases


This class can be used to prepare and execute MySQL database queries.

It can parse a query string to locate % marks that define where parameter values should be inserted.

It uses the printf function format parameter syntax, so the characters following the % marks define the types of the parameters.

The class can also execute the query by replacing the marks by properly escaping the query parameter values depending on their types.

Picture of Matthew Peace
Name: Matthew Peace <contact>
Classes: 2 packages by
Country: United Kingdom
Age: 50
All time rank: 2940134 in United Kingdom
Week rank: 703 Up27 in United Kingdom Up

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,344
This week:1,205Up