MattWeider/Easy-PHP-MySQL — pull request #1 by powerc9000 (2012-04-22 23:04:35+00:00)
Title: A better way to do db connections

This is a better way to do the db connection. The way I am showing does not require the user to edit the class file at all. All they need to do is

$db = new connection();
$db($host,$user,$password,$database);
$db->query($query);