Welcome Guest, Not a member yet? Register   Sign In
Problem by select from db when there is a space followed by a comma in where clause
#8

[eluser]Libelle[/eluser]
[quote author="CroNiX" date="1329420161"]Your simple test case won't work because your query is still wrong in your model! That's not how you write it. Check the manual for Active Record. Several people mentioned this and you keep doing the same thing.
Code:
$this->db
  ->select('name')
  ->like('name', $your_search_val)
  ->get('table_name');
[/quote]

Thank you.


Messages In This Thread
Problem by select from db when there is a space followed by a comma in where clause - by El Forum - 02-16-2012, 12:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB