Login   Register  
PHP Classes
elePHPant
Icontem

Simple SQL query manager: Compose SQL queries read from template files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-01-13 (6 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 501 This week: 1All time: 5,236 This week: 1,435Up
Version License PHP version Categories  
sql_query_manager 1.0.0GNU General Public Lice...5.3PHP 5, Databases, Templates, Security
Description Author  

This class can compose SQL queries read from template files.

It can read and process a template file that defines a SQL query.

The class replaces placeholder using values assigned to class variables.

The values are encoded before replacing in the template according to the variable type.

The processed query template is returned as a string.

Picture of Rafal Przetakowski
Name: Rafal Przetakowski <contact>
Classes: 3 packages by
Country: Poland Poland
Age: 36
All time rank: 216354 in Poland Poland
Week rank: 372 Up13 in Poland Poland Up

  Files folder image Files  
File Role Description
Files folder imageSQL (1 file)
Files folder imagevartypes (9 files)
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file LICENSE Data Auxiliary data
Accessible without login Plain text file README.md Doc. Auxiliary data
Plain text file sqlquery.php Class Class source

  Files folder image Files  /  SQL  
File Role Description
  Accessible without login Plain text file sqlExample.sql Data Auxiliary data

  Files folder image Files  /  vartypes  
File Role Description
  Plain text file boolean.php Class Class source
  Plain text file date.php Class Class source
  Plain text file double.php Class Class source
  Plain text file email.php Class Class source
  Plain text file float.php Class Class source
  Plain text file integer.php Class Class source
  Plain text file nip.php Class Class source
  Plain text file secureString.php Class Class source
  Plain text file string.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%Total:501All time:5,236
 This week:1This week:1,435Up