Login   Register  
PHP Classes
elePHPant
Icontem

File: example_6.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bogdan Lupandin  >  MySQL Access Wrapper  >  example_6.php  >  Download  
File: example_6.php
Role: Example script
Content type: text/plain
Description: An example which uses the cache
Class: MySQL Access Wrapper
MySQL database access wrapper
Author: By
Last change: Made it work with the current version of db.php
Date: 2010-11-01 13:38
Size: 158 bytes
 

Contents

Class file image Download
<pre><?php
include_once 'db.php';

$db = new db();

$result $db->fetch_rowset('SELECT * FROM table ORDER BY field ASC');

print_r($result);
?></pre>