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 revision
Previous revision
Next revisionBoth sides next revision
v5:reference:connection:param [2017/04/21 11:50] – external edit 127.0.0.1v5:reference:connection:param [2017/05/17 19:18] mnewnham
Line 4: Line 4:
 == Syntax == == Syntax ==
   string param(   string param(
-         string $name+         string $name
-         optional type='C'+
          )          )
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
 The function param returns a database-specific placeholder for a prepared query statement.  The function param returns a database-specific placeholder for a prepared query statement. 
 +
 +This method is used with [[v5:userguide:learn_bind:bind_vars|bind variable SQL statement execution]], to produce injection resistant code.
 ------------------------------ ------------------------------
 ===== Usage ===== ===== Usage =====
v5/reference/connection/param.txt · Last modified: 2021/02/26 01:35 by dregad