1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP Reporting Code

Discussion in 'PHP' started by mohankumarbatchu, Nov 26, 2008.

  1. #1
    Dear Friends,

    I am new developer in PHP, i want code for reporting tool in excel format in PHP. Please give the as early as possible.


    Regards,
    Mohan.
     
    mohankumarbatchu, Nov 26, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    Im not getting your request, please try to tell us more about your request!
     
    EricBruggema, Nov 28, 2008 IP
  3. peeeev

    peeeev Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you want to generate file in "true" .xls format you have 2 choices:
    1. Use COM object (see more here - php.net/com). But this was your script should be hosted on windows server and have office have to be installed
    2. Learn .xls file format which is not fast and easy :)

    OR The way you may go is to use .csv file format. It is simple format where you split columns by ";" and excel reads it fine.
     
    peeeev, Nov 28, 2008 IP
  4. misbah

    misbah Active Member

    Messages:
    265
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    68
    #4
    try this
    http://www.mt-soft.com.ar/2007/12/21/xls-php-class/
    Code (markup):
     
    misbah, Nov 28, 2008 IP
  5. mrmaf

    mrmaf Peon

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I can help you by providing u code that will export all of your data in .csv(excel) format

    Please tell me so that i place code here for you.
     
    mrmaf, Nov 29, 2008 IP