5
is my first question here at the Stack overflow. Well, I would like to know how to structure a php page to display different information to different users, because I don’t want to have more than one page for each type of user.
For example, assuming you have two types of users, Administrator and Client, I would like for the administrator to display an information X and for the Client a information Y. Additional information: I have in Super Global $_SESSION the type of user.
Sincerely yours truly, Ericks Rodrigues.
Are you using any database? Which one ? Att, Tao Father.
– Diego Souza
I am using PDO to access a mysql database, I am already manipulating the information and already acquire the data.
– Ericks Rodrigues