| Server IP : 50.21.180.56 / Your IP : 216.73.216.208 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67922704 ( 67922704) PHP Version : 8.5.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/thread-self/cwd/wp-content/plugins_old/dhtmlxspreadsheet/codebase/php/ |
Upload File : |
<?php
/**
(c) DHTMLX Ltd, 2011
Licensing: You allowed to use this component for free under GPL or you need to obtain Commercial/Enterprise license to use it in non-GPL project
Contact: sales@dhtmlx.com
**/
class mysql {
protected $connection = null;
public function __construct($connection) {
$this->connection = $connection;
}
public function query($query) {
LogMaster::log($query);
$res = mysql_query($query, $this->connection);
if (mysql_errno() != 0)
LogMaster::log($this->error());
return $res;
}
public function next($res) {
if ($res == false) return false;
return mysql_fetch_assoc($res);
}
public function error() {
return mysql_error($this->connection);
}
}
?>