Re: help with form
| From: | daniel at electroteque dot org | Date: | Sun, 18 Jan 2004 03:58:48 +0000 |
| Subject: | Re: help with form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174949@lists.php.net to get a copy of this message | ||
> I'm creating a form that puts data into two different tables in the
> database. I was wondering how to get the "ID" from the first table
> and, in the "background", associate it with the second table?
>
> any help is GREATLY appreciated!
>
Firstly you never said which db ? I'll assume mysql, check out
mysql_insert_id
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php