You are here: Re: is mysql_insert_id safe « PHP Programming Language « IT news, forums, messages
Re: is mysql_insert_id safe

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация