CodeIgniter Forums
AR where_in single quot problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: AR where_in single quot problem (/showthread.php?tid=59470)



AR where_in single quot problem - El Forum - 10-09-2013

[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