RE: [PHP] Array Select from database
| From: | Chris W. Parker | Date: | Wed, 28 Sep 2005 16:57:42 +0000 |
| Subject: | RE: [PHP] Array Select from database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-223366@lists.php.net to get a copy of this message | ||
Silvio Porcellana <mailto:sporc@tin.it>
on Wednesday, September 28, 2005 9:37 AM said:
> 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));
Now that's a Freudian slip if I ever saw one. :)