How to remove the slash in the where condition of codeigniter
<p>I am using in array in where conditions of Codeigniter.</p>

<p>But here I am not getting the exact result what I need actually ,here in where condition some slashes are adding .
Below is my code </p>



<pre class="lang-html prettyprint-override"><code>$comma_separated= implode("','", $ids);  // here i am getting ids
$this-&gt;db-&gt;select("car_id");
$this-&gt;db-&gt;where_in('car_id',array(stripslashes($comma_separated))); 
$query_second = $this-&gt;db-&gt;get_where("car_booking");
</code></pre>

<p>My last query is </p>



<pre class="lang-html prettyprint-override"><code>SELECT `car_id`
FROM `car_booking`
WHERE `car_id` IN('123\',\'14781')
</code></pre>

<p>Here stripslahses is not working in the where conditions .</p>

<p>Any suggestion ,thank you ...</p>