Hello. I have a php, mysql and jquery login and registration sliding system, all works fine but if this requires a new user to use between 4 and 32 characters:
$err=‘Your username contains invalid characters!’;
How do I make it so the use HAS to have a name example of: John_Doe (with the underscore in the middle of the name) both parts of the name having to be 4 or more characters.
I think I’ve fixed the 4 or more character part by changing the above code to 9 or more (John_Test), like this or more.
I will appreciate your help very much, I am making a San Andreas Multiplayer roleplaying community and need the registration system set up correctly.