<?
include_once('xqueries.php');
class TMYQuery extends TXQuery
{
function TMYQuery()
{/*
$this -> SQL = '';
$this -> Row = 0;
$this -> Handle = '';
$this -> ObjectField = False;
*/
}
function Execute()
{
$this->Cursor = mysql_query($this->SQL);
if (!$this->Cursor)
{
echo 'Could not run query: ' . mysql_error();
exit;
}
TXQuery::Execute();
}
function Close()
{
// mysql_free_result($this->Cursor);
// mysql_free_query($this->BLR);
TXQuery::Close();
}
function Next()
{
return ($this->Field = mysql_fetch_row($this->Cursor));
}
/*
function GetBLOB($FieldName)
{
$Field = mysql_fetch_object($this->Cursor);
$blob_data = mysql_blob_info( $Field->$FieldName);
$blob_hndl = mysql_blob_open( $Field->$FieldName);
return mysql_blob_get($blob_hndl, $blob_data[0]);
}
*/
}
?>