I have a signup form for a my site, it includes username, password and email. I wanted to check that if the username or the email is already exist in my DB so It will write "this username or email is already in use"
otherwise it should sign him to the site.
I succeeded on making the signinig part, but not the validation.
Can someone help me?