Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-18-2009, 08:43 PM   PM User | #1
evandegr
New to the CF scene

 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
evandegr is an unknown quantity at this point
Question making an export CSV button with perl-cgi

Hello,

I currently have an HTML table with data in it. I am new to Perl and I want to take my HTML table and allow users to hit an "Export to CSV" button which will allow them to download the data in the table to a file. There is also going to be checkboxes so that the user can specify which columns from the table they want in the file. I am unfamiliar with this, and haven't done much file writing/reading stuff in Perl. I've searched the web and have been unable to find a good solution/example for this problem. Help is appreciated!

--evandegr
evandegr is offline   Reply With Quote
Old 06-19-2009, 06:38 AM   PM User | #2
KevinADC
Senior Coder

 
Join Date: Mar 2006
Posts: 1,274
Thanks: 2
Thanked 39 Times in 38 Posts
KevinADC is on a distinguished road
If you have not done any CGI programming with perl before I suggest you start learning how to get the form data imported into your script first. Perl comes with the CGI module for the purpose of (well for the pupose of many things actually) doing just that. If you try and tackle this project as a whole you're going to get frustrated as this is not an easy task. Not super hard but definetly not easy either. Also, I really doubt you will find specific help with this type of project or any canned scripts.

http://perldoc.perl.org/CGI.html
KevinADC is offline   Reply With Quote
Reply

Bookmarks

Tags
csv, export, perl

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:32 AM.


Advertisement
Log in to turn off these ads.