Dunno why you guys started talk about utf-8 problems, he has a list of ids which should contain only unsigned integers, otherwise I do not get how that query could work with an implode(',', $whatever) rather than 'id in ("'.implode('","', array_map('mysql_real_escape_string', $whatever)).'")' ... so, the problem could be more about missed ids in the array obtaining ,, ... so, in this case, array_filter before, no? Regards > Date: Tue, 24 Mar 2009 09:19:53 -0400 > From: matt@xxxxxxxxxxxx > To: php-general@xxxxxxxxxxxxx > Subject: Re: Problems with implode > > On Tue, Mar 24, 2009 at 9:15 AM, Per Jessen <per@xxxxxxxxxxxx> wrote: > > TG wrote: > > > >> 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. > > > > Yeah, like the odd backspace or carriage return perhaps. > > I can't tell you how many times I've had data that contained < and got > all kinds of screwed up when data "disapeared" when really the browser > was just turning it into an HTML tag. > > Matt > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > _________________________________________________________________ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/