Re: Retrieve value of newly inserted row.

From: Date: Wed, 14 Feb 2007 18:46:19 +0000
Subject: Re: Retrieve value of newly inserted row.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-248879@lists.php.net to get a copy of this message
Sorry, I wasn't trying to fool you, I promise! :) Arpad, From looking on the web (MSDN) I found the @@identity and the explanation of what it is, but MS's "example" is horrible and does not show a good context for using this function. Could you elaborate more on its use? On 2/14/07, Robert Cummings <robert@interjinn.com> wrote:
On Wed, 2007-02-14 at 19:34 +0100, Tim wrote:
-----Message d'origine----- De : Tim [mailto:user@internet46.fr]
I hope that wasn't too confusing.
http://cz2.php.net/manual/en/function.mysql-insert-id.php
Sorry my eyes played some tricks on me ragarding mysql/mssql refer to Robert's post on looking up "last insert id". No, no, I had the same tricksies played on me too :) Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'


« previous php.general (#248879) next »