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?


> Date: Tue, 24 Mar 2009 09:19:53 -0400
> From: m...@neimeyer.org
> To: php-general@lists.php.net
> Subject: Re: [PHP] Problems with implode
> On Tue, Mar 24, 2009 at 9:15 AM, Per Jessen <p...@computer.org> 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™.

Reply via email to