Posted by Rik on 06/13/06 11:36
monomaniac21 wrote:
> Hi all
>
> With regard to mysql's mysql_insert_id function is it possible that
> the query can return the insert id from another insert performed by a
> another user of the database which occured after the initial insert by
> the first user but b4 the insert_id part can be queried.
No, mysql_insert_id() in the same script always gets the value of the last
query performed by that specific script, not by other connections to the
database.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|