MySQL class.

A simple class to faciliate accessing a MySQL database.

Usage

Edit the variables at the top of the class.

Init and connect with $sql = new sql();

Perform a query with sql::query($query). Result is stored in sql::$rs

Comments