v5:reference:connection:qstr
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:qstr [2016/04/21 01:09] – mnewnham | v5:reference:connection:qstr [2021/01/25 02:59] (current) – mnewnham | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| == Syntax == | == Syntax == | ||
| string qStr( | string qStr( | ||
| - | | + | |
| - | | + | |
| ) | ) | ||
| </ | </ | ||
| Line 14: | Line 13: | ||
| - Wrapped in single quotes.The value can then be used, for example in an SQL statement. | - Wrapped in single quotes.The value can then be used, for example in an SQL statement. | ||
| - | - Have quotes inside the string escaped in a way that is appropriate for the database. This is done wherever possible using PHP driver functions e.g. [[http:// | + | - Have quotes inside the string escaped in a way that is appropriate for the database. This is done wherever possible using PHP driver functions e.g. [[http:// |
| ------------------------------ | ------------------------------ | ||
| Line 23: | Line 22: | ||
| $SQL = " | $SQL = " | ||
| - | $result = $db->Execute($SQL); | + | $result = $db->execute($SQL); |
| /* | /* | ||
| Line 37: | Line 36: | ||
| $SQL = " | $SQL = " | ||
| - | $result = $db->Execute($SQL); | + | $result = $db->execute($SQL); |
| /* | /* | ||
| - | * Execution | + | * Execution |
| */ | */ | ||
| </ | </ | ||
v5/reference/connection/qstr.1461193759.txt.gz · Last modified: (external edit)
