v5:reference:connection:getinsertsql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
v5:reference:connection:getinsertsql [2016/03/23 14:26] – [$recordSet] fix broken link dregad | v5:reference:connection:getinsertsql [2016/03/23 19:15] – [$dontFixQuotes] fix broken link dregad | ||
---|---|---|---|
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 57: | Line 53: | ||
</ | </ | ||
==== $dontFixQuotes ==== | ==== $dontFixQuotes ==== | ||
- | For a description of this behavior see [[v5: | + | For a description of this behavior see [[v5: |
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
<WRAP right tip 300px> | <WRAP right tip 300px> |
v5/reference/connection/getinsertsql.txt · Last modified: 2021/01/25 03:16 by mnewnham