in reply to Getting null value from last_insert_id()

Have you looked up the docs? I think you almost answered your own question. Tell the monks the specifics of the databases (not the OS) you are using for more help. I can't help you further, but I'm sure there are some monks here who could.

How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
Robot Tourist, by Ten Benson

  • Comment on Re: Getting null value from last_insert_id()

Replies are listed 'Best First'.
Re^2: Getting null value from last_insert_id()
by chiragforever (Novice) on Apr 10, 2007 at 06:28 UTC
    Hi, I got the solution for this problem. Only thing that we need to do is install DBD::mysql module. last_insert_id function does not work if this module is not installed. I am wondering while installing DBI it does not ask to install DBD::my +sql .