getConnection('core_read'); $row = $read->fetchRow("select * from epay_order_status where orderid = '" . $orderid . "' LIMIT 1"); return $row; } }