Use insert_id in the SQL.
| From: | Bruno Gimenes Pereti | Date: | Wed, 07 Nov 2001 13:35:12 +0000 |
| Subject: | Use insert_id in the SQL. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14087@lists.php.net to get a copy of this message | ||
Hi,
I need to use the inserted key to the same SQL like:
INSERT INTO candidatos (cod, name, insc) VALUES ('', 'BRUNO GIMENES PERETI',
cod+5000);
Who can I do that?
Thank's
Bruno Gimenes Pereti.