php - Auto - Check Username -


how go auto checking username user enters on html form? project i'm working on , need finished. not have code i'm working now, haven't found useful on this.

you have construct validation routine first before can anything. imagine take in string , returns boolean depending on if finds given string in table of usernames.

next, have attach javascript event fire off on keypress when field in focus. javascript event pass string in field validation check. then, have catch reply , react accordingly (display success/error div or whatnot.)

i can try , churn out code if want php know using codeigniter , javascript know using jquery code put out using frameworks.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -