New course! Every coder should learn Generative AI!
Try a free lesson0
How to assign id to user in php ?
2 Answers
+ 16
You can use sessions or cookies for this purpose. If you use a database for storing users, it is better to use AUTOINCREMENT clause to automatically assign ids for users.
0
Got your point thnx.