PHP Classes

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

Recommend this page to a friend!
  All requests RSS feed  >  SQL injection safe DB layer  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

SQL injection safe DB layer

Edit

Picture of Ghulam Jafar by Ghulam Jafar - 9 years ago (2015-11-11)

I want DB layer that have SQL Injection safe structure

This request is clear and relevant.
This request is not clear or is not relevant.

+4

I need DB class for my application that should SQL injection safe.

Ask clarification

1 Recommendation

MySQLi Prepared Statements: Execute MySQL queries using prepared statements

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.
This recommendation solves the problem.
This recommendation does not solve the problem.

+3

Picture of Dave Smith by Dave Smith Reputation 7620 - 9 years ago (2015-11-11) Comment

The current recommendation is to use prepared statements which this class can help manage for you.


Recommend package
: 
: