Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 5, 2018 9:11 AM
Views: 8
  1. $search = '20% raise';
  2. $sql = "SELECT id FROM table WHERE column LIKE '%" .
  3. $this->db->escape_like_str($search)."%'";