Problems with implode
| From: | Toke Herkild | Date: | Tue, 24 Mar 2009 11:14:01 +0000 |
| Subject: | Problems with implode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-290632@lists.php.net to get a copy of this message | ||
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 ?
Regards,
Toke Herkild