def getTableHTML(rows):
    """ Binds rows items into HTML table code.

    :param list rows: an array of row items
    :return: HTML table code with items at rows
    :rtype: str


    >>> getTableHTML([["Name", "Radek"], ["Street", "Chvalinska"]])
    '<table><tr><td>Name</td><td>Radek</td></tr><tr><td>Street</td><td>Chvalinska</td></tr><table>'
    """
    if rows:
        result = "<table>"
        for row in rows:
            result += "<tr>"
            for item in row:
                result += "<td>%s</td>" % item
            result += "</tr>"
        result += "<table>"
        return result
    else:
        return ""