Login   Register  
PHP Classes
elePHPant
Icontem

File: documentation/simple-example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Camilo Sperberg  >  Extended MySQLi  >  documentation/simple-example.php  >  Download  
File: documentation/simple-example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Extended MySQLi
MySQL database access wrapper using MySQLi
Author: By
Last change: Eliminated usage of underscore in filenames
Some fixes related all with composer
Version 4.1.0 of the class, several fixes
Date: 6 months ago
Size: 280 bytes
 

Contents

Class file image Download
<?php

include('../src/unreal4u/config.php');
include(
'../src/unreal4u/dbmysqli.php');

$db = new unreal4u\dbmysqli();
$db->supressErrors true;
$db->keepLiveLog true;
echo 
$db->version();

$db->query('SELECT * FROM a');

echo 
'<pre>';
print_r($db->dbLiveStats);
echo 
'</pre>';