note 69904 rejected from function.pg-query by bobby
| From: | bobby@php.net | Date: | Tue, 26 Sep 2006 01:52:33 +0000 |
| Subject: | note 69904 rejected from function.pg-query by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-117672@lists.php.net to get a copy of this message | ||
Note Submitter: bar at rushmart dot com
----
Everyone knows how to select. How about an example of an insert that includes a sequence update as
in "insert into table (id,name,..) values(nextval('table_idx_seq'),
'$name',..)? I am using pg_exec() and am getting a syntax error at '$name.