Location: PHPKode > scripts > My simple Query Language Class for MySQL & MySQLi > sample.php
<?

include('mql.class.php');

$_m = new MQL('HOST', 'USERNAME', 'PASSWORD', 'DATABASE', 'CHARSET');
$_m->cache_enabled = true;
$_m->cache_time = 60 * 60 * 5;

$_m->query('your query');
?>
Return current item: My simple Query Language Class for MySQL & MySQLi