All pastes #540018 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-05 13:02 UTC
rendered paste body
page 1:

class doheader {

function doheader() {
$this->a();
}

function a() {
$a="blah"
$this->a=$a;
return $a
}


page 2:




class DoFooter extends  DoHeader {

function printparent() {
echo $this->a;
}




page 3:
include(class1.php)

include(class2.php)
i want to print out printparent() vars that was in the previous class... not working