Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/config/db.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of philippe thomassigny  >  Dominion  >  examples/config/db.php  >  Download  
File: examples/config/db.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Dominion
Build and execute portable SQL queries
Author: By
Last change: patch 8.00.05
Date: 2012-03-27 17:54
Size: 229 bytes
 

Contents

Class file image Download
<?php
/*
$dbtype = DB_Base::POSTGRES;
$db = 'wa_test';
$un = 'wa_admin';
$pw = 'watest';
*/
$dbtype DB_Base::POSTGRES;
$db 'mall';
$un 'root';
$pw 'pgjaftc1';

$DB = new DB_Base($dbtype);
$DB->setLogon($un$pw$db);

?>