PHP Classes

File: SQL_drivers.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Fernando Costa(14biss)  >  SPMD  >  SQL_drivers.php  >  Download  
File: SQL_drivers.php
Role: Example script
Content type: text/plain
Description: Supported SQL drivers
Class: SPMD
Wrapper to access different types of databases
Author: By
Last change:
Date: 4 years ago
Size: 391 bytes


Class file image Download
= new SPMD('mssql:host=""; user="sa"; pass="123456"; database="MuOnline";');
$Con2 = new SPMD('mysql:host=""; user="root"; pass="123456"; database="l2jdb";');
$Con3 = new SPMD('oci:host="localhost"; user="userName"; pass="123456"; database="dbName";');
$Con4 = new SPMD('pgsql:host="localhost"; user="userName"; pass="123456"; database="dbName";');