CodeIgniter Forums
AR where_in single quot problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: AR where_in single quot problem (/thread-59470.html)



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