Login   Register  
PHP Classes
elePHPant
Icontem

File: Demo

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tim Rijavec  >  MySQL Access  >  Demo  >  Download  
File: Demo
Role: Example script
Content type: text/plain
Description: Example script
Class: MySQL Access
MySQL database access wrapper
Author: By
Last change:
Date: 2008-04-27 06:11
Size: 288 bytes
 

Contents

Class file image Download
<?php

include( 'mysqlAccess.php' );

$Query = new MysqlQuery();
$QueryString "SELECT User FROM mysql.user";
if( 
!= strcmp$Query->error'' ) | true != $Query->Execute$QueryString ) ) die( $Query->error );

while( 
$a $Query->FetchNextRow() ) { 
    echo 
$a['User'] . "<br>"
}
?>