Hey people, redesigning the code to my personal website, and (as the title suggests) i intend to use a variable $code to contain the desired HTML output and add to it while the script runs through. the variable $code is actually a member of the webpage class. The class has the includes and functions used to build the page output. When i wish to add to the variable $code i try
$this->code=($this->code."HTML");
now in the included file should i refer to it as $this->code or just $code??? it doesnt seem to want to work?!? Would it be easier to just use a global variable $code instead??