Re: [PHP] Three queries. One Form.

2005-06-09 Thread jack jackson
Thanks for this Richard! On 6/9/05, Richard Davey <[EMAIL PROTECTED]> wrote: > Hello jack, > > Friday, June 10, 2005, 12:05:35 AM, you wrote: > > jj> I am trying to make one form on a single page insert info into three > jj> tables; query 1 creates an art_id (auto-increment) for the newly > jj>

Re: [PHP] Three queries. One Form.

2005-06-09 Thread jack jackson
tt! > > > Matt Babineau > Criticalcode > w: http://www.criticalcode.com > p: 858.733.0160 > e: [EMAIL PROTECTED] > > -Original Message- > From: jack jackson [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 09, 2005 4:06 PM > To: php-general@lists.ph

Re: [PHP] Three queries. One Form.

2005-06-09 Thread Richard Davey
Hello jack, Friday, June 10, 2005, 12:05:35 AM, you wrote: jj> I am trying to make one form on a single page insert info into three jj> tables; query 1 creates an art_id (auto-increment) for the newly jj> created row in table art; jj> query2 creates a media_id in table media. jj> Then I need t

RE: [PHP] Three queries. One Form.

2005-06-09 Thread Matt Babineau
] -Original Message- From: jack jackson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 4:06 PM To: php-general@lists.php.net Subject: [PHP] Three queries. One Form. Hi, I am trying to make one form on a single page insert info into three tables; query 1 creates an art_id (auto-increment

[PHP] Three queries. One Form.

2005-06-09 Thread jack jackson
Hi, I am trying to make one form on a single page insert info into three tables; query 1 creates an art_id (auto-increment) for the newly created row in table art; query2 creates a media_id in table media. Then I need to get the art_id and media_id created by the first two queries to insert int