1) i want to create 1 registration form contains login name,password,email,phone number.
2) once u submit the form data, login page should have to come, it contains loogin name and password.
3)login page should accept only previously register name n password.
here is my sample code. but in this code it will not store register data in array, login page will accept any data. please help out of this.