Efficient library for PHP to simplify development.
First include the class using include_once('MySQL.class.php');
Next save a variable creating a new class passing database details you can then pass a query to it and it will return you the result:
- $connection = new MySQL($host, $port, $user, $pass, $database);
- $connection->query("QUERY HERE e.g. SELECT * From Users");