Scenario: A user number 5884 into their account and edits there profile. The url is
www.site.com/profile.php?id=5884. However, when they change the url to
www.site.com/profile.php?id=5885 they can view the personal details of profile 5885.
What php session script (or other) do I put at the top of the viewprofile.php scripting to allow the logged in user to view only his/her profile?