So recently I learned how to properly add a username and password to a database.
My database is usersys, and the table storing user information is called userdb. The table h
I would also think about not storing passwords in your database. One way hashes with MD5 or SHA1 are a way of adding a layer of security at the db level.
See http://php.net/md5 or http://php.net/sha1 for further information.