v5:reference:connection:param
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
v5:reference:connection:param [2017/05/17 19:19] – mnewnham | v5: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: | This method is used with [[v5: | ||
+ | |||
+ | On RDBMS with positional (numbered) query parameters such as PostgreSQL, calling '' | ||
+ | |||
------------------------------ | ------------------------------ | ||
===== Usage ===== | ===== Usage ===== | ||
Line 33: | Line 36: | ||
*/ | */ | ||
</ | </ | ||
+ | <code php> | ||
+ | /* | ||
+ | * Connection to Postgres database | ||
+ | */ | ||
+ | print $db-> | ||
+ | /* | ||
+ | * prints $1 | ||
+ | */ | ||
+ | </ | ||
+ | |||
v5/reference/connection/param.txt · Last modified: 2021/02/26 01:35 by dregad