answersLogoWhite

0

How do you create admin user in php?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

Have a separate field in your database and allocate the post accordingly. For eg.

$query = mysql_query("CREATE TABLE IF NOT EXISTS Login

(

Username varchar(12) NOT NULL Primary Key,

Password varchar(12) NOT NULL,

Post varchar(8),

// Add more fields to your liking

)");

For post allocate as admin, supervisor, etc

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create admin user in php?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Who created a user account in Active Directory?

In domain the adminstrator/ admin group/enterprise admin has rights to create user.


Where would one find information online on how to use the php admin?

One can use a Php admin to store information which can be easily accessed. If one uses the Php my admin one can have it to keep updated automatically.


Can i use php without a php admin or account?

Yes, you can use PHP without any admin account. It is a programming language you can install on any computer and does not have accounts inherently.


How can make another user in system?

Go into Admin, go to control panel, go to user accounts, then create new


How do you create a new user on ubuntu?

system -> admin -> users and groups. Or, since this question is in the "Windows XP" category, are you asking how to create a new user on Ubuntu from within Windows XP?


How to access the private user account files and folders in win XP pro?

Create a new admin account.


How do you remove an administrator password on an iMac G3?

"Admin" refers to users who can do things on the computer that non-admin users can't do. To delete a user, create an admin user. After you have created an admin user, open the System Preferences window. In "Users and Groups" select the user you want to delete and click the minus sign at the bottom of the "Users and Groups" pane. You may need that user's password.


How do you create function in php?

they're called user-defined functions, this is the syntax: function the_user_defined_name() { the code you want here }


Default admin password for the TS3100?

User: Admin Password: secure


What is the lycsis wag210n password?

for default user: admin pass: admin


How do you make your user admin on your Ipod Touch?

iPods don't have user accounts, so there's no real admin, just a single user (you) with universal permissions.


Can you change admin password from non admin users in xp?

To remove an administration password on Microsoft xp,simply go to start,control panel then go to user accounts.In user accounts,click on administrator and the click create a password.After clicking on create a password,type in the current password and click change password(Do not insert a new password or hint,just type the current password and click change password.)That will remove the password in the administrator profile.