# PHP / MySQL Password problems

**URL:** <https://forum.kirupa.com/t/php-mysql-password-problems/149285>\
**Category:** programming\
**Created:** [May 27, 2005, 2:49pm UTC](https://forum.kirupa.com/t/php-mysql-password-problems/149285 "2005-05-27T14:49:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaykills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kaykills/32/228_2.png) [@kaykills](https://forum.kirupa.com/u/kaykills)\
**Post date:** [May 27, 2005, 2:49pm UTC](https://forum.kirupa.com/t/php-mysql-password-problems/149285/1 "2005-05-27T14:49:27Z")

</div>

hey,  
A friend helped me create a gui a while back for a php/mysql site and he created one user and password which is stored in a MySQL table. I believe the session function is being used to validate the password. The password is encrypted and it works fine. I go to the front page of the manager section. I log in with the username and password that is stored in the table and I am in… I have tried to add a second username and password and it never works. I always get an errror. The encrypted password in the table is 16 characters long, and I am not sure how to add a second one. If anyone can shed some light on this I would appreciate it. I know I am being pretty vague but I don’t know how to explain it differently.

Any help is appreciated.  
Cheers  
Kay
