I\'m still learning OOP so this might not even be possible (although I would be surprised if so), I need some help calling another classes method.
For example in
//file1.php name; } } ?> //file2.php getName(); echo $name; //Prints John } } $classb = new ClassB(); $classb->callA(); ?>