PHP Classes
elePHPant
Icontem

MySQLi Prepared Statements: Execute MySQL queries using prepared statements

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-06-24 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 172 This week: 1All time: 8,203 This week: 675Up
Version License PHP version Categories
mysqli-prepared-stmt 1.0GNU General Publi...5.3PHP 5, Databases
Description Author

This class can execute MySQL queries using prepared statements.

It can connect to a given MySQL database using the MySQLi extension.

The class can execute plain SQL queries or queries with parameters using prepared statements to pass the parameter values.

The parameter values are passed along the SQL query string in a single call as an array that defines either the parameter value and its type.

Queries that retrieve result sets return the results as arrays. The range of result set rows to be returned can be limited.

Recommendations

SQL injection safe DB layer
I want DB layer that have SQL Injection safe structure

Name: Sung-Whi Kim <contact>
Classes: 1 package by
Country: France France

  Files folder image Files  
File Role Description
Accessible without login Plain text file db_test.sql Data The sql script to create the sample databse
Plain text file db.php Class The class file
Accessible without login Plain text file example.php Example Sample script showing usage

 Version Control Unique User Downloads Download Rankings  
 0%
Total:172
This week:1
All time:8,203
This week:675Up