Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: How do I find the value MYSQL assigned to an AUTO_INCREMENT ID (int) Field?

by plaid (Chaplain)
on Jun 19, 2000 at 04:23 UTC ( #18751=note: print w/replies, xml ) Need Help??


in reply to How do I find the value MYSQL assigned to an AUTO_INCREMENT ID (int) Field?

From the DBD::mysql man page:
$insertId = $dbh->{'mysql_insertid'}
  • Comment on Re: How do I find the value MYSQL assigned to an AUTO_INCREMENT ID (int) Field?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2022-01-20 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?