fork download
  1. <?php
  2. require_once 'getdata.class.php';
  3. class Header extends GetData
  4. {
  5. public $headers;
  6.  
  7. public function sayfaHeader($sayfa = 1)
  8. {
  9. parent::$sql = "SELECT * FROM header WHERE id='" . $sayfa . "'";
  10. $data = parent::getData();
  11.  
  12. return parent::$error;
  13.  
  14. $this->headers = $data;
  15. return (object) $this->headers;
  16. }
  17. }
  18. ?>
Runtime error #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
Warning: require_once(getdata.class.php): failed to open stream: No such file or directory in /home/ok1TQR/prog.php on line 2

Fatal error: require_once(): Failed opening required 'getdata.class.php' (include_path='.:/usr/share/php5:/usr/share/php') in /home/ok1TQR/prog.php on line 2