$query = "SELECT * FROM user WHERE user_name = &authenticatedUser left join account on user_id = fk1_user_id WHERE fk1_user_type_id = '1'
The following code should be to allow a user to login and then look at their customer details and only their details. I can get it so it selects * from the user table which is linked to another table with account information in but how do I get it so it only shows the customer that is logged in?
thanks
The following code should be to allow a user to login and then look at their customer details and only their details. I can get it so it selects * from the user table which is linked to another table with account information in but how do I get it so it only shows the customer that is logged in?
thanks