pl: CSV Import

Beitrag lesen

Ein "Array of Hashes" (um bei der „perligen“ Nomenklatur zu bleiben) genügt für den Ex- und Import von Daten in und aus zweidimensionalen Datentabellen (oder zweidimensional "abgebildeten" Datenräumen).

Dieser abstrakte Datentype hat den Nachteil, daß die Feldnamen redundant sind. Und was machst Du, wenn eine andere Kodierung vorliegt als utf8? Da ist Dein Vorschlag JSON nämlich Essig.

Idealerweise macht man sich beim Transport unabhängig von der Zeichenkodierung. Genausowenig kann man festlegen, daß JSON generell eine gute Idee sei, Daten zu übertragen.

MfG

0 50

CSV Import

Bernd
  • datenbank
  1. 0
    pl
    1. 0
      Bernd
  2. 0
    Rolf B
    1. 0
      pl
      1. 0
        Rolf B
        1. 0
          pl
          1. 0
            Rolf B
            1. 0
              pl
              1. 0

                Hoster mit von außen erreichbarer MySQL-DB

                ursus contionabundo
            2. 0
              Bernd
  3. 0
    Tabellenkalk
    1. 0
      dedlfix
  4. 0

    CSV Import Feldnamen

    pl
  5. 0

    CSV Import will CSV - und nicht irgendetwas.

    ursus contionabundo
    1. 0
      pl
  6. 0
    klawischnigg
    1. 0
      Tabellenkalk
      1. 0
        dedlfix
        1. 0
          Tabellenkalk
          1. 0
            dedlfix
      2. 0
        klawischnigg
  7. 0
    Bernd
    1. 0
      pl
      1. 0
        Bernd
        1. -1
          pl
          1. 0
            Bernd
            • datenbank
            • php
            1. 0
              pl
              1. 2
                ursus contionabundo
                1. 0
                  pl
                  1. 3
                    ursus contionabundo
                    1. 0
                      pl
                      1. 0
                        ursus contionabundo
                        1. 0
                          pl
                          1. 0
                            ursus contionabundo
            2. 1
              Camping_RIDER
          2. 0
            Rolf B
            1. 0
              pl
              1. 4

                Nicht Dein Ernst - oder?

                ursus contionabundo
                1. 0
                  pl
    2. 0
      dedlfix
      1. 0
        Bernd
        1. 0
          dedlfix
          1. 0
            Bernd
            1. 0
              dedlfix
              1. 0
                Bernd
        2. 0

          Drum prüfe, was sich darin findet...

          ursus contionabundo
    3. 0
      ursus contionabundo
      1. 0
        Tabellenkalk
        1. 0

          sicher?

          ursus contionabundo