note 28645 added to function.mysql-query
| From: | php at rack1 dot php dot net | Date: | Sun, 19 Jan 2003 14:59:55 +0000 |
| Subject: | note 28645 added to function.mysql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42384@lists.php.net to get a copy of this message | ||
phpinfo at t-online dot de,
good point about the security hole potential in multple query handling. I just wanted to say that in
some cases its a good idea to use multiple queries for performance issues. For example, according to
http://www.mysql.com/doc/en/Insert_speed.html
:
"If you are inserting many rows from the same client at the same time, use multiple value lists
INSERT statements. This is much faster (many times in some cases) than using separate INSERT
statements."
--
http://www.php.net/manual/en/function.mysql-query.php
http://master.php.net/manage/user-notes.php?action=edit+28645
http://master.php.net/manage/user-notes.php?action=delete+28645
http://master.php.net/manage/user-notes.php?action=reject+28645