PHP Classes

File: examples/config/db.php

Recommend this page to a friend!
  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: 12 years ago
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);

?>