Sh3ll



Directory :  /home/zjabogados/public_html/Libs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Current File : /home/zjabogados/public_html/Libs/classdatamssql.php
<?php
//CLASE MGMData
class MGMData {

	var $result;
	var $cant_rows;
	var $row;	

	function MGMData($query) {
		$this->result = mssql_query($query);
		//echo "<br><br>$query";
		if (strtoupper(substr($query, 0, 6)) == 'SELECT') {
			$this->cant_rows = mssql_num_rows($this->result);
			}
       }

    function Next() {
		$this->row = mssql_fetch_array($this->result);
		return $this->row;	
       }

    function First() {
		mssql_data_seek($this->result, 0);
       }

    function Seek($position) {
		mssql_data_seek($this->result, $position);
       }

    function Close() {
		mssql_free_result($this->result);
       }
}
?> 

Sh3LL