I have created admin panel with admin having rights to create users now i want to give user privileges through admin to view selected columns in mysql table.How can i do that code in php?

What kind of users are you talking about? Not MySQL users I assume. Can you provide an example of what you want to achieve?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.