I don't think that would be a problem, the size of the array. I've used
implode at least once or twice on fairly large arrays. More likely is
something weird with your data. I'd do a print_r or var_dump to check
the data and make sure that's not the issue.
Not saying implode isn't having a problem, but I've never seen any issues
with it like you're describing.
----- Original Message -----
From: Toke Herkild <t...@ezl-data.dk>
Date: Tue, 24 Mar 2009 12:14:01 +0100
Subject: [PHP] Problems with implode
> 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.
> Is this some kind of implode feature or a string to large problem ?
> Toke Herkild
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php