Untitled
public text v1 · immutablepage 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