Skip to content
Advertisement

I am trying to get the user id which is created automatically [closed]

I have most code I can find but nothing works

Advertisement

Answer

Assuming these lines of code come immediately after executing an insert of a new user record and you are using PDO. You could try:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement