hey guys,
This question might be discussed over thousand times but please help me on this one!
I have a customer registration (html) page on which I have included form level validations using java script. On click of the submit of this page control goes to regist.php where I run a query to insert records into mysql database.
I have a userid field on the html page which I want to validate against database of mysql.
How can I get the php array from mysql database of existing userids and compare it using javascript to the one recently entered?
Please explain,
Thanks