v5:reference:connection:prepare
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
reference:prepare [2015/12/04 17:28] – mnewnham | v5:reference:connection:prepare [2019/08/09 15:42] (current) – [Usage] Fix execute call per https://github.com/ADOdb/ADOdb/issues/543 dregad | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP info> | <WRAP info> | ||
- | Support for this function is limited. See the feature compatibility matrix | + | Support for this function is limited. See the [[v5: |
</ | </ | ||
- | <WRAP right box> | + | <WRAP right box 250px> |
== See Also == | == See Also == | ||
- | [[reference: | + | [[v5:reference: |
+ | [[v5: | ||
== Syntax == | == Syntax == | ||
mixed prepare ( | mixed prepare ( | ||
Line 24: | Line 25: | ||
<code php> | <code php> | ||
/* | /* | ||
- | * Connection to Oracle database | + | * Connection to Oracle database |
*/ | */ | ||
$handle = $db-> | $handle = $db-> | ||
- | $params | + | $bindVariables |
/* | /* | ||
- | * Send an array to execute | + | * Execute the prepared statement |
*/ | */ | ||
- | $result = $db-> | + | $result = $db-> |
</ | </ | ||
For compatibility purposes, if the database does not support prepared statements, the SQL statement is returned into the '' | For compatibility purposes, if the database does not support prepared statements, the SQL statement is returned into the '' | ||
v5/reference/connection/prepare.1449246519.txt.gz · Last modified: 2017/04/21 11:33 (external edit)