v5:reference:connection:autoexecute
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:autoexecute [2016/01/17 01:08] – ↷ Links adapted because of a move operation mnewnham | v5:reference:connection:autoexecute [2021/01/25 03:07] (current) – mnewnham | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| | | ||
| | | ||
| - | | ||
| ) | ) | ||
| Line 21: | Line 20: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The function '' | + | The function '' |
| - | AutoExecute() inserts or updates | + | autoExecute() inserts or updates |
| ==== $table ==== | ==== $table ==== | ||
| Line 32: | Line 31: | ||
| ==== $mode ===== | ==== $mode ===== | ||
| - | Legal values for `$mode` are | + | Legal values for ` $mode ` are |
| ^String^Integer^Constant^ | ^String^Integer^Constant^ | ||
| Line 47: | Line 46: | ||
| |true|All fields provided are updated|The constructed statement may be considerably larger| | |true|All fields provided are updated|The constructed statement may be considerably larger| | ||
| - | ==== $dontFixQuotes==== | ||
| - | For a description of this parameter, see [[v5: | ||
| - | |||
| ==== Usage ==== | ==== Usage ==== | ||
| - | + | <code php> | |
| - | AutoExecute($table, $arrFields, $mode, $where=false, | + | autoExecute($table, $arrFields, $mode, $where=false, |
| + | </ | ||
| === Insert example === | === Insert example === | ||
| Line 61: | Line 57: | ||
| $record[" | $record[" | ||
| - | $conn->AutoExecute($table, | + | $conn->autoExecute($table, |
| /* | /* | ||
| Line 75: | Line 71: | ||
| $where | $where | ||
| - | $conn->AutoExecute($table, | + | $conn->autoExecute($table, |
| /* | /* | ||
| Line 91: | Line 87: | ||
| $where | $where | ||
| - | $conn->AutoExecute($table, | + | $conn->autoExecute($table, |
| /* | /* | ||
v5/reference/connection/autoexecute.1452989325.txt.gz · Last modified: (external edit)
