diff options
author | James L Parry <jim_parry@bcit.ca> | 2014-11-25 02:26:58 +0100 |
---|---|---|
committer | James L Parry <jim_parry@bcit.ca> | 2014-11-25 02:26:58 +0100 |
commit | 8252b75630e27ed92d677cc30a2c19d5096a3d4c (patch) | |
tree | 48a7bb09d76f8897a9362a947a69dd3e7f9a008d /user_guide_src/source/database/queries.rst | |
parent | 014bc89142a576d056e1dd025bb703d27262337c (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>
Diffstat (limited to 'user_guide_src/source/database/queries.rst')
-rw-r--r-- | user_guide_src/source/database/queries.rst | 4 |
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)."%'"; ************** |