ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:addq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
v5:reference:connection:addq [2016/04/06 01:38] mnewnhamv5:reference:connection:addq [2017/05/17 18:58] mnewnham
Line 12: Line 12:
 ==== Description ==== ==== Description ====
 The function ''addQ()'' takes an input string, and applies database specific string quoting. Unlike the method [[v5:reference:connection:qstr]], no pre or post quoting is applied.  The function ''addQ()'' takes an input string, and applies database specific string quoting. Unlike the method [[v5:reference:connection:qstr]], no pre or post quoting is applied. 
 +
 +This method is particularly useful when used with [[v5:userguide:learn_bind:bind_vars|bind variable SQL statement execution]], to produce injection resistant code.
  
 ------------------------------ ------------------------------
v5/reference/connection/addq.txt · Last modified: 2021/01/25 03:00 by mnewnham