Simple database wrapper.

v0.1.0 2019-09-13 20:38 UTC

This package is auto-updated.

Last update: 2020-02-13 21:33:15 UTC


README

Simple database wrapper

Installation

composer require alexkratky/db

Usage

db::connect($host, $user, $pass, $db);
$user = db::select("SELECT * FROM users WHERE ID = ?", array($id));
echo $user["name"];