J James Well-known member Licensed customer May 31, 2011 #1 What's the easiest way to get the highest registered user ID in XF for use in PHP code?
Mike XenForo developer Staff member Licensed customer May 31, 2011 #2 Via a query: SELECT MAX(user_id) FROM xf_user
J James Well-known member Licensed customer May 31, 2011 #3 So there's no predefined function? Alright, thanks Mike
Mike XenForo developer Staff member Licensed customer May 31, 2011 #4 No, as IDs really aren't of interest to us except for looking up particular ones. If you want the most recently registered user (meeting our necessary criteria), that's a different story...
No, as IDs really aren't of interest to us except for looking up particular ones. If you want the most recently registered user (meeting our necessary criteria), that's a different story...