I want to write a PERL CGI that will:
(1) Receive data from an SQL SELECT Result Set and create an HTML Table filled with the data returned.
(2) When a button labeled 'DOWNLOAD' is selected (will be created above the table in the HTML)I want to create
a CSV file on the users PC.
Can you help?