Re: Postgres & PHP
| From: | php3 at developersdesk dot com | Date: | Sun, 30 Jul 2000 09:23:17 +0000 |
| Subject: | Re: Postgres & PHP | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1627@lists.php.net to get a copy of this message | ||
Addressed to: Alan Todd <Alan.Todd@InfoAve.Net>
php-db@lists.php.net
** Reply to note from Alan Todd <Alan.Todd@InfoAve.Net> Sun, 30 Jul 2000 03:35:14 -0400
>
> What is the proper way to inset values into 2 separate tables example
> when they fill out a form that has a place for username, password,
> first and last name i want user and pass to be entered into the auth
> table and the first and last name to be entered into users table
>
Two separate queries, each updating one table. If your database does
transactions, both queries should be within one transaction.
Rick Widmer
Internet Marketing Specialists
www.developersdesk.com