summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user_guide/database/queries.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/queries.html b/user_guide/database/queries.html
index dbb3e5c7d..7a6734c4a 100644
--- a/user_guide/database/queries.html
+++ b/user_guide/database/queries.html
@@ -113,7 +113,7 @@ Most of the time you'll use the above function rather than this one. Use the fun
conditions so that LIKE wildcards ('%', '_') in the string are also properly escaped.
<code>$search = '20% raise';<br />
-$sql = "SELECT id FROM table WHERE column LIKE '%".$this->db->escape_like_str($search)."%'";</code>
+$sql = "SELECT id FROM table WHERE column LIKE '%".$this->db->escape_like_str($search)."%'";</code></li>
</ol>