I have two checkboxes
Customer
, Employee
When the appropriate checkbox is checked by clicking on login button
based on the checkbox selection either Customer
or Employee
passed to json parser
so that along with username and password the role(Customer
or Employee
)of user should be compared with the mysql database with help of php
I have already implemented and tested Backend(html,php and myql)
CheckBox Customer, Employee;
uname = (EditText)findViewById(R.id.uname1);
upass = (EditText)findViewById(R.id.upassword1);
Customer = (CheckBox)findViewById(R.id.customer);
Employee = (CheckBox)findViewById(R.id.employee);
login = (Button)findViewById(R.id.login);
Aucun commentaire:
Enregistrer un commentaire