summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames L Parry <jim_parry@bcit.ca>2014-11-25 02:26:58 +0100
committerJames L Parry <jim_parry@bcit.ca>2014-11-25 02:26:58 +0100
commit8252b75630e27ed92d677cc30a2c19d5096a3d4c (patch)
tree48a7bb09d76f8897a9362a947a69dd3e7f9a008d
parent014bc89142a576d056e1dd025bb703d27262337c (diff)
Database guide update
Minor change to try to keep line lengths reasonable. Awkward with the example SQL queries. Signed-off-by:James L Parry <jim_parry@bcit.ca>
-rw-r--r--user_guide_src/source/database/queries.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/user_guide_src/source/database/queries.rst b/user_guide_src/source/database/queries.rst
index d775d20c4..43a0a30bf 100644
--- a/user_guide_src/source/database/queries.rst
+++ b/user_guide_src/source/database/queries.rst
@@ -121,7 +121,9 @@ this:
::
- $search = '20% raise'; $sql = "SELECT id FROM table WHERE column LIKE '%".$this->db->escape_like_str($search)."%'";
+ $search = '20% raise';
+ $sql = "SELECT id FROM table WHERE column LIKE '%" .
+ $this->db->escape_like_str($search)."%'";
**************