Menu
I need a validation code that would
1. grab the username from a field. (hopefully a script that does this action as soon as the field box is no longer active such when the user clicks somewhere else or ‘tab’ into another field box.)
2. look for the same username in mysql
3. if found, echo “username exist”. else { echo “username available”}
4. both “username exist” and “username avaible” should appear next to the input field.
This is for a new website i’m building that i hope to include user registeration in.
Thx for your help