Simple database wrapper.

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

This package is auto-updated.

Last update: 2024-11-12 21:08:18 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"];