<?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; ?>
info at phpclasses dot org