Use the MD5() function to save the password in the database. This is a one-way hash function that you can compare like this:
if (md5($typed_in_pw) != md5($db_pw)) {
echo("password didn't compare");
}
for your users' security, it's a good thing to has the passwords and it will be case sensitive.
Dave
===========================================
http://badblue.com/helpphp.htm
Get PHP up and running fast: Win95,98,ME,NT
BadBlue: a free, small footprint web server