How to find out which id was added to the Mysql database?

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!