Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: report from php to excel  (Read 3141 times)

0 Members and 1 Guest are viewing this topic.

marjune

    Topic Starter


    Rookie

    report from php to excel
    « on: July 28, 2009, 12:55:45 AM »
    >>>ei guys how to make a report in php that can be downloaded in ms excel? thanks

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: report from php to excel
    « Reply #1 on: July 28, 2009, 03:06:31 AM »
    To use this, you'll need the PHP PEAR Library.
    You'll also need Google Translator. ;D

    http://www.contentmanager.de/magazin/artikel_310-print_excel_export_mit_pear.html
    http://www.mayflower.de/category/category.php?CatID=8&startcat=2&lang=de

    Both of those are in German, so you can use Google to translate them.

    soybean



      Genius
    • The first soybean ever to learn the computer.
    • Thanked: 469
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 10
    Re: report from php to excel
    « Reply #2 on: July 28, 2009, 10:13:04 AM »
    Can you simply generate an ASCII or text file containing the report?  Excel can open/import such files.

    Rob Pomeroy



      Prodigy

    • Systems Architect
    • Thanked: 124
      • Me
    • Experience: Expert
    • OS: Other
    Re: report from php to excel
    « Reply #3 on: July 30, 2009, 02:38:16 AM »
    I would follow Soybean.  Unless you need to include fancy Excel stuff (formatting, formulae, etc) just create a text-based CSV file.
    Only able to visit the forums sporadically, sorry.

    Geek & Dummy - honest news, reviews and howtos