I cannot get this code to parse.
$SESSION($GET["mid"]) = $module;
I'm trying to add the variable "mid" which is in the URL and assign it $module variable.
Thanks
I guess you are using session_start() first? http://php.net/manual/en/function.session-start.php
Edit: $SESSION is an array and it have to be like this.
$_SESSION['name'] = $value;
Add the variable mid to what?
What it looks like you're trying to do is access a session variable by specifying the name of it through your URL, and assigning the value of that to $module. Is that what you intend, or have I misunderstood?