Results 1 to 6 of 6

Thread: php .csv

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: May:2009
    Location: velingrad
    Posts: 26

    php .csv

    , , .csv 3 ", ". php , ...

    , , .

  2. #2
    ! vbTheKing's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 4,138
    ... php ...
    / . " php" " ", ?
    ''? * *
    - !
    ...

  3. #3
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    $lines = file('pytq_do_faila');
    i w $lines .
    "" , , .
    :
    foreach ($lines as $line) {
    $parts = explode(',', trim($line));
    // $parts
    }

    , ( CSV ) .. $parts .
    , . , , , .

  4. #4
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167
    .

  5. #5
    hmm BornToDrink's Avatar
    Join Date: Aug:2005
    Location: .
    Posts: 11,573
    Code:
    $handle = fopen($fileName, "r");
    while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) 
    {
    
    }
    1000 e , .
    , - CSV comma-separated values, CSV MS Office, Language & Regional Settings ( ) -> .

    , MacOS, PHP- new line , :
    auto_detect_line_endings = On
    Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
    .

  6. #6
    Registered User
    Join Date: May:2009
    Location: velingrad
    Posts: 26
    , . .

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 |