PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Mustafa OZGUR   My simple Query Language Class for MySQL & MySQLi(Improved)   sample.php   Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: Example
Class: My simple Query Language Class for MySQL & MySQLi(Improved)
Database access wrapper using MySQL or MySQLi
Author: By
Last change:
Date: 13 years ago
Size: 197 bytes
 

Contents

Class file image Download
<?

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');
?>