Hi all. I wish to do the following, but don't exactly know how to create it:
Customer Account Table:
Email
Password
Customer Access Table:
Email
Lastlogin
AccountStatus
What I want to do is when the customer logs into the site and they have no account, the information in the form updates the main Account table.
When the customer returns, the customer account table is checked to see if the user has an account. If email is found then it queries the access table to check the Account Status, returning true/false.
My questions:
1) Updating the customer account table is easy, but how do I make sure the customer account e-mail is the same in the customer access table?
2) When the customer returns, do I have to have two dbconnects/queries to see the different tables or can that be like 'linked/joined' somehow to review the data?
Thanks for any help given.
-- M