Re: Problems with implode
| From: | Per Jessen | Date: | Tue, 24 Mar 2009 12:58:36 +0000 |
| Subject: | Re: Problems with implode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290635@lists.php.net to get a copy of this message | ||
Toke Herkild wrote:
> Hi All,
>
> I've an array() with approx 1200 items (list of id-mappings) that part
> works fine.
>
> Now I want to add this list to a query:
> $where = "id in (".$idList.")";
>
> To accomplish that i do an implode:
> $idList = implode(',', $TidList);
>
> My problem is that some of the values gets concenated, others ere
> missing 2 or 3 cifres and some just doesn't show up.
I can't reproduce that behaviour - I tried with ascii ('klop') and utf8
('Köhler') text.
/Per
--
Per Jessen, Zürich (3.4°C)