I have a problem working out how to return users data when the user logs in.
It needs to work so that when any user logs in only their data is shown.
This is the current table structure;
I have three tables set up;
'Users'
'Profile'
'Linkingtbl'
The 'Users' table holds the following data;
Email (PK)
Password
The 'Profile' table holds the following data;
ProfileID (PK)
Firstname
Lastname
DOB
The 'Linkingtbl' table holds the following data;
ID (PK)
Email (FK)
Password
ProfileID (FK)
I have a login system setup and want to be able to show the users 'ProfileID'.
Thanks