Login   Register  
PHP Classes
elePHPant
Icontem

File: Exemple1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2011-08-11 19:28
Size: 232 bytes
 

Contents

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

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

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