note 58389 rejected from function.pg-copy-from by betz
| From: | betz@php.net | Date: | Wed, 02 Nov 2005 15:52:24 +0000 |
| Subject: | note 58389 rejected from function.pg-copy-from by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97991@lists.php.net to get a copy of this message | ||
Note Submitter: detach8 at gmail dot com
----
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));