stelthius Posted July 13, 2009 Share Posted July 13, 2009 Hello all, im using $passReset = mysql_query("UPDATE users SET password='$db_password' WHERE email_address='$email_address'"); To update the users password when they reset it but i also need to alter FLAG to 1 so it will bring up a alert for them to change there password from the one just sent to them, is it possible to do this ? Quote Link to comment Share on other sites More sharing options...
pengu Posted July 13, 2009 Share Posted July 13, 2009 $passReset = mysql_query("UPDATE users SET password='$db_password',FLAG='1' WHERE email_address='$email_address'"); Pretty sure it's just separated by a comma. Quote Link to comment Share on other sites More sharing options...
stelthius Posted July 13, 2009 Author Share Posted July 13, 2009 Thanks Pengue, i thought it may have been i just wasnt sure so i figured id ask for a second opinion ill try it now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.