Codeigniter Form Validation is_unique on Updation |
I have a Form that can change the user name, email and password fields where membership information is kept. These areas are also uniq.
1- The user can change the three fields above, but these changed fields must be uniq except for the password. After all, it doesn't make sense for security to write an email address of an existing user in the system. 2 - Even if the user just changes his password, I get the error that user name already exists in the database. How should I logic in this problem? |
Welcome Guest, Not a member yet? Register Sign In |