<?php require 'SPMD.class.php'; $Con = new SPMD('mssql:host="127.0.0.1"; user="sa"; pass="123456"; database="MuOnline";'); $Query = $Con->query('SELECT * FROM MEMB_INFO'); while($row = $Query->Obj()) { echo 'Login: '.$row->memb___id.' , Nome: '.$row->memb_name; } ?>