private function executeStatement($stmt) {

		if(true !== $stmt -> execute()) {

			if($this -> getLastErrno() > 0) {
				return trigger_error(sprintf('A database error occured with error number "%s" and message: "%s"', $this -> getLastErrno(), $this -> getLastError()), E_USER_ERROR);
			}

			return false;
		}

		$stmt -> store_result();

		return $stmt;
	}
private function executeStatement($stmt) {

		if(true !== $stmt -> execute()) {

			if($this -> getLastErrno() > 0) {
				return trigger_error(sprintf('A database error occured with error number "%s" and message: "%s"', $this -> getLastErrno(), $this -> getLastError()), E_USER_ERROR);
			}

			return false;
		}

		$stmt -> store_result();

		return $stmt;
	}
private function executeStatement ( $ stmt ) { if ( true !== $ stmt -> execute ( ) ) { if ( $ this -> getLastErrno ( ) > 0 ) { return trigger_error ( sprintf ( 'A database error occured with error number "%s" and message: "%s"' , $ this -> getLastErrno ( ) , $ this -> getLastError ( ) ) , E_USER_ERROR ) ; } return false ; } $ stmt -> store_result ( ) ; return $ stmt ; }
Executes one statement
@param mysqli_stmt
@return mysqli_stmt
Executes one statement