I was thinking about in what style It will be better to develop this module: " admin see all users, can add, edit , remove..." There is only list of all the users(with all of the info), then admin can click on the edit image and edit him.
To store info about the user for the editing purpose I was thinking about 2 possible ways to do that, but which is better, which is the professional way, maybe any?
1. add to the link , userid=$userid, and then query mysql for the userid info.
2. store all users on this page info into $_SESSION, and we don't need to use mysql...
What do you think ?
I'm not talking about technical implementation, I'm talking about the design principles.