Login   Register  
PHP Classes
elePHPant
Icontem

File: example1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Giulio Bai  >  Qexec  >  example1.php  >  Download  
File: example1.php
Role: Example script
Content type: text/plain
Description: Example #1
Class: Qexec
MySQL database access wrapper with many functions
Author: By
Last change:
Date: 7 years ago
Size: 171 bytes
 

Contents

Class file image Download
<?php

include_once('qexec.php');

$q = new Qexec();
$res $q->exec_query('SELECT foo,bar FROM table');

echo 
$res[0]['foo']; // First row of the field 'foo'

?>