From f597dd19ef20e4bff70ad10bf794aab3915d693d Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 5 Jul 2010 07:43:46 -0400 Subject: fixed a missing in guide --- user_guide/database/queries.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. $search = '20% raise';
-$sql = "SELECT id FROM table WHERE column LIKE '%".$this->db->escape_like_str($search)."%'";
+$sql = "SELECT id FROM table WHERE column LIKE '%".$this->db->escape_like_str($search)."%'"; -- cgit v1.2.3-24-g4f1b