Ver original$_POST['nombre2'] = 'rojo,azul,verde'
Ver original$query = sprintf("tu query ... IN ('%s')", implode("','", explode(',',$_POST['nombre2'])));
Ver original$query = sprintf("tu query ... IN ('%s')", str_replace(',', "','",$_POST['nombre2']));