Traceback (most recent call last): File "/var/www/tennisabstract/cgi-bin/wtourney.cgi", line 501, in trow = matching_rows[0] ~~~~~~~~~~~~~^^^ IndexError: list index out of range