Не могу понять как выводится print_r($row); в mysqli через php, есть require_once "config_class.php"; - вопрос №1020173
class DataBase {
private $config;
private $mysqli;
public function __construct() {
$this->$this->config = new Config ();
$this->$mysqli = new mysqli ($this->config->db_host, $this->config->db_user, $this->config->db_password, $this->config->db_name);
$this->$mysqli->query(«SET NAMES 'utf8'»);
}
public function select($result_set) {
$result_set = $mysqli->query(«SELECT * FROM `s_tb`»);
if (!$result_set) return false;
return $this->resultSetToArray($result_set);
}