This is my page class:
class page {
function init_page() {
$this->page_name = get_page();
$forum = $GET['forum'];
$this->forum = $forum;
$this->thread = $GET['thread'];
$this->stid = $_GET['stid'];
$test = "?";
$this->blah = $test;
}
}
I can do echo $instance->blah; but not $instance->forum; which I think may be because its a server variable. but I don't know. Can anyone shed some light on why I can't do this?