How to get the id for the last inserted item in SQL Php admin? (Part 2) I continuedly get 0 in my table with following code

QuestionsHow to get the id for the last inserted item in SQL Php admin? (Part 2) I continuedly get 0 in my table with following code
Jehal Desai Staff asked 4 years ago

I use the following code to access the id for the last inserted item but can only get 0 for relatedAccountID. May I ask if anyone can point out the issue? Many Thanks.
It continues showing 0 with executing the code
Thanks for the support from the post: How to get the id for the last inserted item in SQL Php admin


View on Stack Overflow