Sign Up Login Videos

Getting last INSERT ID on MySQL Server

0

Getting last INSERT ID on MySQL Server

I'm working on my project, It is a online reservation. I use your DB.php to do any request to the database. I cannot figure-out on how I can get the last Input id on the server by using you library DB.php? I use "$id = $db->lastInsertId();" still get a 500 error. What modification I'll do on the DB.php?

  • PHP
  • SQL

0 Replies

x