• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUG with escape_like_str

#1
$search = '[email protected]';
echo $this->db->escape_like_str($search);

I got: [email protected]

how to fix it?
Reply

#2
It's not a bug, the underscore is a special character and needs to be escaped.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.