07-12-2012, 04:54 PM
[eluser]Aken[/eluser]
There's no need to do all that extra stuff for such a simple form. Just check the database to see if the email exists first, and then if not, check for the username. If neither exist, throw an error. If one exists, that's the user you'll check against.
There's no need to do all that extra stuff for such a simple form. Just check the database to see if the email exists first, and then if not, check for the username. If neither exist, throw an error. If one exists, that's the user you'll check against.