function PrepareSP($sql) { if (!$this->_canPrepareSP) { return $sql; } // Can't prepare procedures $stmt = @odbtp_prepare_proc($sql, $this->_connectionID); if (!$stmt) { return false; } return array($sql, $stmt); }
function PrepareSP($sql, $param = true) { if (!$this->_canPrepareSP) { return $sql; } // Can't prepare procedures $this->_errorMsg = false; $this->_errorCode = false; $stmt = @odbtp_prepare_proc($sql, $this->_connectionID); if (!$stmt) { return false; } return array($sql, $stmt); }