Hi,
i have this error : Strict Standards: Non-static method department::showAllDepartment() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/nsubackend/lib/controller/mainController.php on line 577..
and heres my code:
574 function showDepartment(){
575 require_once('lib/model/classDepartment.php');
576 new department();
577 $departmentID = department::showAllDepartment();
578
579 if(isset($_POST['addDepartment'])) $this->addDepartment();
580 if(isset($_POST['updateDepartment'])) $this->updateDepartment();
581 if(isset($_POST['yesDeleteDepartment'])) $this->deleteDepartment();
582 if(isset($_POST['noDeleteDepartment'])) echo "<script language='javascript'>window.location='department.php';</script>";
require_once('lib/view/tpl.department.php');
}
...hope you could help me here..