note 58389 added to function.pg-copy-from
| From: | detach8 at gmail dot com | Date: | Wed, 02 Nov 2005 15:04:26 +0000 |
| Subject: | note 58389 added to function.pg-copy-from | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-97990@lists.php.net to get a copy of this message | ||
I am quite confused on how this work. Is array supposed to be a one-dimention array with strings
tab-delimited? If it is, this sounds dumb. Why not make it a two-dimentional array, like this:
$to_insert = array(
array(product_id => 1, name => "Toothbrush", price => 3.10) ,
array(product_id => 2, name => "Toothpaste", price => 4.99, hide => 1));
----
Manual Page -- http://www.php.net/manual/en/function.pg-copy-from.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58389
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58389&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58389&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58389&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58389&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58389&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58389&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58389&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58389&report=yes
Search -- http://master.php.net/manage/user-notes.php