i got have 3 id in a string
let $x="6,3,5" now i want to get all color information from tbl_color where color id are 6, 3 and 5.
i made this query, whats wrong with this
$sql=" SELECT * FROM tbl_color WHERE color_id IN(".explode(',',$x).")
please suggest right query