You are here: Re: Is this a bug ? « PHP Programming Language « IT news, forums, messages
Re: Is this a bug ?

Posted by McHenry on 05/03/06 12:39

"Tim Roberts" <timr@probo.com> wrote in message
news:bdjg52pcs81bsd1sfmqru09t8jribr24bi@4ax.com...
> "McHenry" <mchenry@mchenry.com> wrote:
>
>>I am trying to add a new row to a MySQL table using a stored procedure and
>>then obtain the new id value. The rows are added and affected _rows
>>returns
>>1 confirming the statement worked however no insert_id value is returned.
>
> What happens if you try $mysqli->query("SELECT LAST_INSERT_ID();")? That
> should be equivalent.
> --
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.

Works, thanks a million...

Does this mean I get a bug named after me ?
I've decided to call it Zorgon !

 

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

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