https://github.com/par7133/fastmysql
FastMySql class, the smart DB class - BSD License
https://github.com/par7133/fastmysql
class db fast fast-to-implement fastmysql opensource php
Last synced: 10 months ago
JSON representation
FastMySql class, the smart DB class - BSD License
- Host: GitHub
- URL: https://github.com/par7133/fastmysql
- Owner: par7133
- License: bsd-3-clause
- Created: 2020-02-16T19:21:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-29T16:24:50.000Z (over 2 years ago)
- Last Synced: 2025-01-12T15:46:05.764Z (12 months ago)
- Topics: class, db, fast, fast-to-implement, fastmysql, opensource, php
- Language: PHP
- Homepage: http://5mode.com
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
FastMySql
FastMySql class
@package OpenGallery http://github.com/par7133
@author Daniele Bonini
@version 1.01
@phpver 5.6 to 7.3
@access public
@note You have to declare in your "config.inc" file - or whatever file you
use for the purpose, the following global constants:
define('DB_HOST', "p:your.db.ip.address");
define('DB_USER', "your_dbuser");
define('DB_PASSWORD', "your_dbpassword");
define('DB_DBNAME', "your_db_name");
define('DB_CHARSET', "utf8");
The class makes use of the following global functions:
function array_dim($array)
{
if (is_array(reset($array))) {
$retval = array_dim(reset($array)) + 1;
} else {
$retval = 1;
}
return $retval;
}
function array_keys_count(& $array)
{
return count(array_keys($array));
}
This class makes use of the class FastErr, part of the Open Gallery
project and developed by me http://github.com/par7133