note 27137 added to function.mysql-query
| From: | sampw at hotmail dot com | Date: | Sun, 24 Nov 2002 23:39:07 +0000 |
| Subject: | note 27137 added to function.mysql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39922@lists.php.net to get a copy of this message | ||
@multi-query:
...
$a = explode(';', implode('', $a));
...
Be carefull ... Think about:
INSERT INTO table (field1) VALUES ('OH ; Shit!');
--
http://www.php.net/manual/en/function.mysql-query.php
http://master.php.net/manage/user-notes.php?action=edit+27137
http://master.php.net/manage/user-notes.php?action=delete+27137
http://master.php.net/manage/user-notes.php?action=reject+27137