It may look like a stupid question, but I went through various pages since 2 days, and didn't get to a solution by myself. So I made a session variable like this:
<?php session_start(); $_SESSION['currentpage']="home"; ?>
(I checked, it does make the variable and assign it right.)
Then I tried to use it as a parameter here:
It doesn't pass the variable. I tried to put it into directly the function, like not as a parameter, but inside it, doesn't work.