v5:reference:connection:getinsertsql
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:getinsertsql [2016/01/16 22:15] – ↷ Page moved from v5:reference:getinsertsql to v5:reference:connection:getinsertsql mnewnham | v5:reference:connection:getinsertsql [2021/01/25 03:16] (current) – mnewnham | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| [[v5: | [[v5: | ||
| [[v5: | [[v5: | ||
| - | [[v5: | + | [[v5: |
| Line 12: | Line 12: | ||
| mixed $recordSet, | mixed $recordSet, | ||
| string[] $fieldArray, | string[] $fieldArray, | ||
| - | optional bool $dontFixQuotes=false, | + | optional bool $placeholder=false, |
| optional bool $forceType=null | optional bool $forceType=null | ||
| ) | ) | ||
| Line 21: | Line 21: | ||
| ===== Parameters ===== | ===== Parameters ===== | ||
| ==== $recordSet ==== | ==== $recordSet ==== | ||
| - | The parameter '' | + | The parameter '' |
| - | <code php> | + | * a // |
| $SQL = " | $SQL = " | ||
| $result = $db-> | $result = $db-> | ||
| $sql = $db-> | $sql = $db-> | ||
| </ | </ | ||
| - | or | + | |
| - | <code php> | + | * a //string// specifying a table name <code php> |
| $table = ' | $table = ' | ||
| $sql = $db-> | $sql = $db-> | ||
| - | </ | + | </ |
| - | Note that in the second instance, because | + | |
| - | <code php> | + | |
| /* | /* | ||
| * Incorrect syntax | * Incorrect syntax | ||
| */ | */ | ||
| $sql = $db-> | $sql = $db-> | ||
| - | </ | + | </ |
| - | + | ||
| - | Also note that in the second example, | + | |
| ==== $fieldArray ==== | ==== $fieldArray ==== | ||
| Line 53: | Line 49: | ||
| </ | </ | ||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||
| - | <WRAP right tip 300px> | + | ==== $placeHolder |
| - | Use of this parameter is tied to the now removed '' | + | This argument previosly held information about now-deprecated PHP functionality, |
| - | </ | + | |
| - | ==== $dontFixQuotes | + | |
| - | For a description of this behavior see [[v5: | + | |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| <WRAP right tip 300px> | <WRAP right tip 300px> | ||
v5/reference/connection/getinsertsql.1452978902.txt.gz · Last modified: (external edit)
