Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-10-21 22:46 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.