Update to latest version

This commit is contained in:
genuineparts 2025-06-24 23:26:25 +02:00
parent 8a89842ec6
commit fe9ecfad73
77 changed files with 1701 additions and 5404 deletions

View file

@ -1,6 +1,6 @@
<?php
/**
* Project: astat - simple site engine
* Project: BeCast WebEngine - simple site engine
* File: /core/database/mysqli.class.php
*
* This library is free software; you can redistribute it and/or
@ -17,16 +17,16 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @link http://www.astat.org SVN: $URL: http://svn.astat.org/astat/trunk/core/database/mysqli.class.php $
* @copyright 2025 becast.at
* @link http://www.becast.at
* @copyright 2009-2025 becast.at
* @author Bernhard Jaud <bernhard at becast dot at>
* @package astat core
* @package BcWe core
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: mysqli.class.php 126 2010-02-21 21:07:52Z genuineparts $
*/
* @version $Id: 04fd2c27ac07acf18e32d57d6fa972322831dfac $
*/
$module["db"]["name"]="Database Class (mysqli)";
$module["db"]["ver"]="1.0.1";
$module["db"]["ver"]="1.0.2";
class db {
var $mysqli;
var $host="";
@ -119,31 +119,23 @@ class db {
function querys(){
return $this->abfragen;
}
}
function num_rows($result){
$rows = $result->num_rows;
return $rows;
}
return $result->num_rows;
}
function fetch_row($result){
$row = $result->fetch_row();
return $row;
}
return $result->fetch_row();
}
function fetch_array($result){
$row = array();
$row = $result->fetch_array(MYSQLI_ASSOC);
return $row;
}
return $result->fetch_array(MYSQLI_ASSOC);
}
function fetch_array_num($result){
$row = array();
$row = $result->fetch_array(MYSQLI_NUM );
return $row;
}
return $result->fetch_array(MYSQLI_NUM);
}
function escape($string){
$return = $this->mysqli->real_escape_string($string);