(previous question)
(my site)
I'm still busy writing my site, and I've come at another problem. First the registration worked fine, but I've found a mistake.
After you've registered yourself, you will get a message "You've successfully been registered!". But when you reload the page, your account will be duplicated. After a little bit of thinking, I came to the conclusion that I use the wrong code to check if the username or e-mailadress already exists.
I've edited the code many times, with many solutions found at Google, but they just don't seem to work.
The code below fails because after pressing the 'register' button, the page is empty. (Click here to try registering, and see for yourself...)
(my site)
I'm still busy writing my site, and I've come at another problem. First the registration worked fine, but I've found a mistake.
After you've registered yourself, you will get a message "You've successfully been registered!". But when you reload the page, your account will be duplicated. After a little bit of thinking, I came to the conclusion that I use the wrong code to check if the username or e-mailadress already exists.
I've edited the code many times, with many solutions found at Google, but they just don't seem to work.
The code below fails because after pressing the 'register' button, the page is empty. (Click here to try registering, and see for yourself...)
CODE
ÂÂÂÂ
ÂÂÂÂÂÂÂÂBlanco [Martijn]
ÂÂÂÂÂÂÂÂ
ÂÂÂÂ
ÂÂÂÂ
ÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂProject Blanco
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂRegister
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂ
ÂÂÂÂÂÂÂÂBlanco [Martijn]
ÂÂÂÂÂÂÂÂ
ÂÂÂÂ
ÂÂÂÂ
ÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂProject Blanco
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂRegister
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂ