I am working with a database where every item is a member and every dynamic page is their profile. I need to confirm if the logged in user is the owner of that profile. In other words every member is an item and has an _id field i want to see if that id of the page matches the current logged in users id so i can set functions to hide and show the update - share etc buttons.
How can i achieve this
How can i possibly see "if dynamicpage id equals to loggedinusers id" ?