I wanted to know how I can with php get the id of another user online, not by name, because there may be users with the same name. for example pull the id of another user, I do not know how to do this (full beginner)
I wanted to know how I can with php get the id of another user online, not by name, because there may be users with the same name. for example pull the id of another user, I do not know how to do this (full beginner)
Ideally, you should get the user. And the same must be unique to avoid duplication. Put the field as UNIQUE in your database and in the application before inserting a new user make sure it does not exist.