How can I show my sql database to an admin login? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I show my sql database to an admin login?

I am trying to show the database for people logged in as an administrator on my website can some please help?

18th Jul 2019, 2:32 AM
Kevin
Kevin - avatar
3 Answers
+ 3
Well just write an sql query that displays this information and generate a html table from the result set. That's all I can say without details of the particular technology you are using :)
18th Jul 2019, 5:46 AM
Tibor Santa
Tibor Santa - avatar
+ 2
That depends on what exactly you want to show to the admin, table names, number of records, last updated? And also might differ for every type of database engine how it can be done.
18th Jul 2019, 5:10 AM
Tibor Santa
Tibor Santa - avatar
0
I was wanting to show an admin the names, ids, and dobs of users in one table but not allow them to be edited without permission
18th Jul 2019, 5:15 AM
Kevin
Kevin - avatar