Only thing leeft to do is to parse the results correctly into an HTML table.