| 
 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 !
 
[Back to original message] 
 |