You are here: Re: How to "fetch" a certain id « PHP Programming Language « IT news, forums, messages
Re: How to "fetch" a certain id

Posted by Bart op de grote markt on 11/17/06 13:11

>
> Yes, it is perfectly safe. The returned value is the id of the last
> insert for that connection.
>
> As for using session variables - you're talking apples and oranges. How
> do you expect to get the id to store it in the session variable? That's
> what mysql_insert_id() is for. Once you get the id you can place it in
> a session variable, store it someplace else or whatever you want.
>
> P.S. Please don't top post. Thanks.


Of course I don't expect to put the id in a session variable. That is
not what I said, is it...

 

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

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