Hi, i have a database which stores admin account details

when an administrator selects to view all acounts is there any way of changing the password do they cannot read them all??

I don't understand your question what password do you want to change and what are you logging into as admin to view all accounts?

It sounds to me like your are storing your passwords as plain text. If this is the case it's always a very bad idea to store your passwords this way. Hashing your passwords before you save them to the database will keep curious admins or mods from being able to view the plain text password, amongst other security benefits. md5 and sha1 are two of the more popular ways to hash a password (or anything else for that matter).

Example:

$hashed_password = md5($password);

have got it working after a little looking around, thanks for the suggestions!!

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.