v5:reference:connection:qstr
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
reference:qstr [2015/07/19 06:59] – [Usage] mnewnham | v5:reference:connection:qstr [2021/01/25 02:59] (current) – mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
+ | == See Also == | ||
+ | [[v5: | ||
== Syntax == | == Syntax == | ||
string qStr( | string qStr( | ||
- | | + | |
) | ) | ||
</ | </ | ||
==== Description ==== | ==== Description ==== | ||
- | The function '' | + | The function '' |
+ | |||
+ | | ||
+ | - 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 17: | Line 22: | ||
$SQL = " | $SQL = " | ||
- | $result = $db->Execute($SQL); | + | $result = $db->execute($SQL); |
/* | /* | ||
Line 31: | Line 36: | ||
$SQL = " | $SQL = " | ||
- | $result = $db->Execute($SQL); | + | $result = $db->execute($SQL); |
/* | /* | ||
- | * Execution | + | * Execution |
*/ | */ | ||
</ | </ | ||
- | |||
v5/reference/connection/qstr.txt · Last modified: 2021/01/25 02:59 by mnewnham