At 12:08 PM -0500 1/30/01, Angela wrote:
>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.
mysql_insert_id() took a link identifier in PHP 3, too, not a result
identifier.
Most likely you were using it incorrectly and got lucky by having
it return the corrrect result.
>-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
--
Paul DuBois, [EMAIL PROTECTED]
---------------------------------------------------------------------
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