• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter Form Validation is_unique on Updation

#1
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?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.