Re: [PHP3] MySQL <-> Oracle8
| From: | Adam Powell | Date: | Tue, 06 Jun 2000 02:30:05 +0000 |
| Subject: | Re: [PHP3] MySQL <-> Oracle8 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1106@lists.php.net to get a copy of this message | ||
Try doing a MAX(ROW_ID) select, and using this as your ID... it will give
you the highest ID in the table which is a good replacement.
Thanks,
Adam
----- Original Message -----
From: Dieter Kneffel <data@wap4.com>
To: php-general <php-general@lists.php.net>; <php3@lists.php.net>
Sent: Sunday, June 04, 2000 5:39 PM
Subject: [PHP3] MySQL <-> Oracle8
> I need to get the ID generated from a previous INSERT operation.
>
> Is there an equivalent PHP/Oracle8 function for 'mysql_insert_id()'
> using MySQL?
> If not, how can I make a simple workaround?
>
>
> Tnx,
>
> Dieter
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe@lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe@lists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>