I'm guessing you're using PHP? I know when we did some upgrades, the
function changed. It used to be mysql_inser_id([result set]), but when
we upgraded it now wants mysql_insert_id([mysql link])
I believe it was a change between PHP3 and PHP4, but I could be wrong
since we upgraded MySQL at the same time.
-Angela
Julian Hiscock wrote:
>
> We are running a program which uses the 'mysql_insert_id' function to get
> the id of an AUTO_INSERT key field. This used to work fine with MySQL V3.22,
> but now we've upgraded to V3.23.32 it doesn't seem to be working. The
> function simply returns the same value the whole time the program is
> running.
>
> Anyone else experienced this or know of a possible cause?
>
> Cheers,
>
> Julian
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Angela Curtis
Innovative Business Consultants
http://www.ibc2001.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php