Simple database wrapper.

v1.0.0 2020-05-12 11:07 UTC

This package is auto-updated.

Last update: 2020-06-12 11:24:37 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"];