Skip to content
PHP Easy DB (Database) is an easy library to manage and control the database.
PHP
Branch: master
Clone or download
Latest commit 08338f6 Aug 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source Improve ident style... Aug 17, 2019
test Rename sample.php to connect.php Jul 10, 2019
LICENSE Initial commit Jul 10, 2019
README.md Update README.md Aug 17, 2019

README.md

PHP Easy Database

EDPHP

PHP Easy DB (Database) is an easy library to manage and control the database.

PHPED

Features

  • Tiny
  • Easy and fast query builder
  • Support most of the sql function

Using

$db=new database();
$db->connect("localhost", "username", "*****");
$db->db="database_name";
$db->create_database($db->db, false);

See more tests php file

Functions

function connect($host="localhost", $user="root", $pass="") {...}
function check() {...}
function disconnect() {...}
function query($query, $error=true) {...}
function create_database($name, $error=true) {...}
function selects($table, $clause=[], $after="", $__sql="") {...}
function select($table, $clause=[], $after="") {...}
function count($table, $clause=[]) {...}
function delete($table, $clause=[]) {...}
function insert($table, $values) {...}
function update($table, $clause, $values) {...}
You can’t perform that action at this time.