Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Getting null value from last_insert_id()

by robot_tourist (Hermit)
on Apr 05, 2007 at 12:08 UTC ( #608459=note: print w/replies, xml ) Need Help??

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 .

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://608459]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2018-06-24 09:48 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.