sqlite - members and staff login info schema -


so have 2 tables, members , staff. need create login system means need store usernames , passwords both members , staff. how should implemented?

create single table name user_login or whatever suits best in table make 3 columns username, password , login_type/account_type, in third columns store type either member or staff.

table: user_login fields: username, password, account_type

sample data:

user1 | user123 | member


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -