Computer Science Canada

If statement

Author:  HaVoC [ Tue Jan 20, 2004 12:44 pm ]
Post subject:  If statement

I'm trying to make ti so when a person logs in they can change their info.

I have this

code:

if (md5($_Post['password'] == $password)){
HERE I HAVE A FORM TO EDIT THEIR INFO;
}else{
echo "You entered a wrong username and/or password";

Author:  Amailer [ Tue Jan 20, 2004 1:10 pm ]
Post subject: 

try..

code:

if (md5($_Post['password']) == $password){
HERE I HAVE A FORM TO EDIT THEIR INFO;
}else{
echo "You entered a wrong username and/or password";
}


: