示例#1
0
function mysql_query($query, $link_identifier = false)
{
    try {
        return MMB::query($query, array("link_identifier" => $link_identifier));
    } catch (SQLBridgeException $e) {
        throw new SQLBridgeException($e->getMessage());
    }
}
 function query($statement)
 {
     echo $statement . "####################";
     $this->_query_result = MMB::query($statement, array("link_identifier" => false));
     return new PDOStatement($this->_mmb_connect, $this->_query_result);
 }