Re: Array Select from database
| From: | Robin Vickery | Date: | Thu, 29 Sep 2005 08:25:39 +0000 |
| Subject: | Re: Array Select from database | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223392@lists.php.net to get a copy of this message | ||
On 9/28/05, Silvio Porcellana <sporc@tin.it> wrote:
>
> In addiction, I would (SQL)escape the values joined: supposing you are
> using MySQL, I'd do:
> $values = join("', '", array_map('mysql_real_escape_string',
> $array));
I agree entirely; I was just trying to keep things simple for the OP.
-robin