Assuming that this a cgi or similar which has a variable containing your html table, all you need to do is print that variable (or however you 'deliver' the table.
Be sure not to leave out the following line though
print "Content-type: text/html\n\n";
this needs to go above any print statements you have so that the browser knows that it is looking at HTML.
More info is definately required, in the future though! Show a bit of code, whether you are running it as a cgi or command line, and what any inputs might be!
cheers
ant