You need to include the class you are trying to extend!
for example, let's say you have a file called "class1.class".
file class1.class:
<?
class fug {
function fug() {
echo 'whatever';
}
} // end of class fug
?>
and you are now editing file class2.class
file class2.class:
<?
include "./class1.class";
class superfug extends fug {
function superfug() {
fug();
}
} // end of class superfug
?>
Notice the "include" statement in the second file...
-Ben