in reply to Re: Re: Re: SQL Troubles
in thread SQL Troubles

But did you not find that by using the $dbh, that the connection id was unique in the last post of that thread, and that this does prevent loosing the correct last_insert_id?

I think this is a very important thread, and I for one hope that I have not been badly mistaken in a few apps that I have written that use this technique. *cringes*

*G*

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: SQL Troubles
by George_Sherston (Vicar) on Dec 03, 2001 at 16:35 UTC
    I agree it's pretty important! The sledgehammer / nut solution I used (first part of the post you reference) *does* solve the problem. I didn't try out crazyinsomniac's more elegant method, so I don't * know* that it works, but given the author I wd have high confidence in it. But I'd try it out before using it!

    § George Sherston