That should be: $dbh->{mysql_insertid}; if retrieving from a database handle, otherwise use $sth->{mysql_insertid}; if from a statement handle.
>On Fri, 14 Dec 2001 19:45:02 -0600, Rich Duzenbury <[EMAIL PROTECTED]> wrote: >> >>DBI version 1.15 >>DBD::mysql version 2.0416 >> >>Blows up on trying to use $dbh->mysql_insertid(): >>Can't locate object method "mysql_insertid" via package "DBI::db" (perhaps >>you forgot to load "DBI::db"? >> >>Would you mind telling me what version you are running? Thank you. >> >>Regards, >>Rich Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Tel: 1(225)686-2002 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --------------------------------------------------------------------- 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