You are here

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home/blackh31/public_html/BLACKHILL/modules/book/book.module).

DB.php

This class extends the Mouse core class. It is extended by any data class object.

It utilizes the mysqli extension for the MySQL Database. It obtains its configuration details from the config.php file and the php.ini configuration file.

$this->mysqli = new mysqli(ini_get("mysqli.default_host"), ini_get("mysqli.default_user"), ini_get("mysqli.default_pw"), lms_get_env_val('db.db'));

Key public methods include:

db_prepare($sql, $bndprms)
db_write($stmt)
commit()  --optional
rollback()  --optional

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer