Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 pondering the Monastery: (3)
As of 2019-06-18 00:37 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (80 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!