class call function inside a function
code<?php
class Bruger
{
public function getName(){
pgetName();
}
private function pgetName(){
echo "hello world";
}
}
?>
<?php
$tst = new Bruger();
$tst->getName();
?>
the problem is this line : pgetName();
p.s.
i understand danish