Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Senior Coder
    Join Date
    Mar 2006
    Posts
    1,274
    Thanks
    2
    Thanked 39 Times in 38 Posts
    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


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •