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/06 01:38] – mnewnham | v5:reference:connection:qstr [2021/01/25 02:59] (current) – mnewnham | ||
---|---|---|---|
Line 3: | Line 3: | ||
<WRAP right box> | <WRAP right box> | ||
== See Also == | == See Also == | ||
- | [[reference: | + | [[v5:reference: |
== 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.1459899508.txt.gz · Last modified: 2017/04/21 11:33 (external edit)