I was trying to use jquery for processing data. I am sending form data to
register_process.php and checking username already exist or not. If it exist i need to ask the user to re-enter user id else register the user.
- function(data)
- {
- $('#result').html(data);
- },
but what i should send from php file so that i can figure out whether user name already exist or not and how to do that.