PHP Classes

File: Exemple1.php

Recommend this page to a friend!
  Classes of Fernando Costa(14biss)   SPMD   Exemple1.php   Download  
File: Exemple1.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: 232 bytes


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

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

$Query = SPMD::query('SELECT * FROM CronJobTasks');
$Count = $Query->Nums();