Welcome Guest, Not a member yet? Register   Sign In
mysql SELECT _
#1

[eluser]sikkle[/eluser]
Hi guys,

I know it's more a mysql question but maybe someone already see this before.

When you use this :

Code:
$query = $this->db
              ->select('id, name')
              ->from($scope)
              ->like('name', $keywords)
                 ->get();

If the user enter the sign _ (underscore), the system seem to take this for *.

I think i will have no choice than build a small patch, but maybe someone got another idea about this ?

Thanks !


Messages In This Thread
mysql SELECT _ - by El Forum - 07-01-2008, 09:01 PM
mysql SELECT _ - by El Forum - 07-01-2008, 09:33 PM
mysql SELECT _ - by El Forum - 07-01-2008, 09:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB