ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:param

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
v5:reference:connection:param [2018/07/21 02:08] – [Usage] mnewnhamv5:reference:connection:param [2020/01/24 23:48] – [Description] document param(false) call to reset counter dregad
Line 13: Line 13:
  
 This method is used with [[v5:userguide:learn_bind:bind_vars|bind variable SQL statement execution]], to produce injection resistant code. This method is used with [[v5:userguide:learn_bind:bind_vars|bind variable SQL statement execution]], to produce injection resistant code.
 +
 +On RDBMS with positional (numbered) query parameters such as PostgreSQL, calling ''param(false)'' will reset the parameter counter, allowing to start building a new query.
 +
 ------------------------------ ------------------------------
 ===== Usage ===== ===== Usage =====
v5/reference/connection/param.txt · Last modified: 2021/02/26 01:35 by dregad