Results 1 to 4 of 4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Web dev SuSaMeCa's Avatar
    Join Date: Jan:2010
    Location:
    Posts: 342

    excel xml PHP

    xml. , . !

  2. #2
    Registered User
    Join Date: Jul:2010
    Location: Veliko Tarnovo
    Posts: 55

  3. #3
    Registered User
    Join Date: Sep:2009
    Location:
    Posts: 4
    excel openoffice, , - , a xls:
    PHP Code:
        $data "";
        while (
    $r=fetchrow()) {
            
    $data .= "\"".$r[0]."\"\t\"".$r[1]."\"\t\"".$r[2]."\"\t\"".$r[3]."\"\t";
            
    $data .= "\n";
        }
        
    $output mb_convert_encoding($title.$data"CP1251""UTF-8");

        
    header('Content-Disposition: attachment; filename="FileName-'.date('Y_m_d_H_i').'.xls"');    
        
    header("Content-Type: application/vnd.ms-excel; charset=windows-1251");
        echo 
    $output
    - CP1251, .

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    .. tabular data.
    CSV? .

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |