Login   Register  
PHP Classes
elePHPant
Icontem

File: mysql.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Joakim Ling  >  MySQL class  >  mysql.php  >  Download  
File: mysql.php
Role: Example script
Content type: text/plain
Description: Example file
Class: MySQL class
MySQL wrapper with simultaneous query support
Author: By
Last change:
Date: 2004-08-26 04:28
Size: 347 bytes
 

Contents

Class file image Download
<pre>
<?php

include ("./mysql.class.php");

$objMySQL = new MySQL ("localhost""user""passwd""database");

/**
 * This will run an unbuffered query for 5 seconds then kill thread
 */
$objMySQL->SelectUnbufferedQuery(5"*""leads");
while (
$row $objMySQL->FetchUnbufferedArray())
    
print_r($row);

$objMySQL->CloseDB();

?>