<?php //Example of use the class conncection $sql = "SELECT * FROM teste"; $stmt = DB::prepare($sql); $stmt->execute(); formatJson($stmt->fetchAll());
info at phpclasses dot org