Can I have javascript and php work together to check if an entry already exists in the database?
I have a form that submits new data into a database, but I would like the page to notify the user if their entry is already entered before they click submit. For example if they type in a certain username into the form, can javascript tell them that the user name already exists before clicking submit? If so, how do you do it? Thanks