How would i write code for User and Admin Dashboard with their details | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How would i write code for User and Admin Dashboard with their details

User Dashboard for students Admin Dashboard

15th Dec 2019, 6:18 AM
Abdullahi Karagama
Abdullahi Karagama - avatar
1 Answer
0
Which language you are using? Do you know how to make login? If you don't, you need a database and a backend language. Store user data and permissions in the database. After user login, set cookie and write permissions in the cookie. PHP is an example backend language https://www.w3schools.com/php/php_cookies.asp Make different page for admins and write PHP code above html codes. Check permission from cookie. If they are not admin close the page with php codes.
15th Dec 2019, 8:16 AM
Mystic Life
Mystic Life - avatar