I am trying to create like a user menu with there info. Here is what I was trying to do
The problem with this code that it seems to get stuck in a loop. How can I make it so when a user logins and clicks on menu it takes them to like menu.php?id=12 the id=12 would be the user id. I figure with this on the top of the page it would prevent a user from changing the id since it would redirect it to their page, but it just gets stuck in a loop
Here is the error i get on the page
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.