Potrzebuje jeszcze pobrać:
Tak żeby w jednym echo były wniki z dwóch tabel. Dziękuje
include ('config2.php');
<?php var $m; var $result; public function __construct(){ $this->query('SET charset utf8'); } public function query($sql){ } public function num_rows(){ } public function affected_rows(){ } public function sh_result(){ return $this->result; } public function id(){ } public function escape($string){ } public function fetch_array(){ } public function result(){ } public function __destruct(){ //mysql_close($this->m); } } ?>
<?php var $m; var $result; private $server; private $user; private $password; private $database; public function __construct($server, $user, $password, $database){ $this->server = $server; $this->user = $user; $this->password = $password; $this->database = $database; $this->query('SET charset utf8'); } public function query($sql){ } public function num_rows(){ } public function affected_rows(){ } public function sh_result(){ return $this->result; } public function id(){ } public function escape($string){ } public function fetch_array(){ } public function result(){ } public function __destruct(){ //mysql_close($this->m); } }
include('config2.php');
include('config2.php');
include('config2.php');
include('config2.php');