what i want to achieve is that
when a user login, he can see a page called gameInfo.php
when he clicks onto that gameInfo.php, the link will show localhost/../gameInfo.php?id=1, if his user id is 1 in the database.
if another user login, if the person user id in database is 2, the page will show localhost/../gameInfo.php?id = 2.
that's what i meant.
I got the id to show up on the page already.
But however, no matter which account i log into, it will still show the page localhost/../gameInfo.php?id=1
i do not know what is the mistake.
I am trying to get the session id to pass through and appear on the link of the page.