PHP Classes

File: Exemple2.php

Recommend this page to a friend!
  Classes of Fernando Costa(14biss)   SPMD   Exemple2.php   Download  
File: Exemple2.php
Role: Example script
Content type: text/plain
Description: Exemple to use SPMD
Class: SPMD
Wrapper to access different types of databases
Author: By
Last change:
Date: 11 years ago
Size: 282 bytes


Class file image Download
require 'SPMD.class.php';

$Con = new SPMD('mssql:host=""; user="sa"; pass="123456"; database="MuOnline";');

$Query = $Con->query('SELECT * FROM MEMB_INFO');
$row = $Query->Obj())
'Login: '.$row->memb___id.' , Nome: '.$row->memb_name;