hi
i have a registration page that the user enter his registration number in that page . when the user click on submit button,my page check that if the number is correct(in MySQL database) submit form and if isn't alert to user that the number is incorrect.
the code that checks this is in php and i want to use this for onSubmit in form.
but it's impossible to assign the onSubmit to a php function . how i can do this ?
thanks