• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AR where_in single quot problem

#1
[eluser]Krystian[/eluser]
Hi,

in html option I`ve got such a value
Code:
<option value="12, 45, 546, 45">some tekst</option>

Further, I POST this value and put it into query

Code:
$this->db->where_in('column_in_table', POST, FALSE);
the problem is that the generated query is bla bla bla WHERE columnt_in_table IN ('12, 45, 546, 45')
I need this without apostrophe

regards


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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