i want to know how i can get last user id from my database ?
Answered by diafol 3,720 in a post from
Jump to Post
THis depends entirely on what you mean by last user_id. Do you mean the one with the largest value or the one that was inserted last?
Usually these will be the same thing if we're talking about user_id as being the Primary Key which is autoincremented.
So you have a …
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.