PHP Classes

File: example1.php

Recommend this page to a friend!
  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: 17 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'

?>