v5:reference:connection:qstr
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
reference:qstr [2015/07/19 06:59] – created mnewnham | v5:reference:connection:qstr [2016/01/17 00:28] – ↷ Page moved from v5:reference:qstr to v5:reference:connection:qstr mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
+ | == See Also == | ||
+ | [[reference: | ||
== Syntax == | == Syntax == | ||
string qStr( | string qStr( | ||
- | | + | |
+ | | ||
) | ) | ||
</ | </ | ||
==== Description ==== | ==== Description ==== | ||
- | The function '' | + | The function '' |
+ | - 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:// | ||
+ | |||
+ | ------------------------------ | ||
==== Usage ==== | ==== Usage ==== | ||
<code php> | <code php> | ||
Line 36: | Line 43: | ||
*/ | */ | ||
</ | </ | ||
- | |||
v5/reference/connection/qstr.txt · Last modified: 2021/01/25 02:59 by mnewnham