Deprecated: Assigning the return value of new by reference is deprecated in /htdocs/public/educativas/lib/pagelib.php on line 67 Strict Standards: Redefining already defined constructor for class page_base in /htdocs/public/educativas/lib/pagelib.php on line 159 Ayuda

Import from a CSV file

CSV means Comma-Separated-Values and is a common format for text interchange.

The expected file format is a plain text file with a list of field names as the first record. The data then follows, one record per line.

The field delimiter defaults to a comma character and the field enclosure is not set by default (field enclosures are characters that surround each field in each record).

Records should be delimited by new lines (usually generated by pressing RETURN or ENTER in your text editor). Tabs can be specified using \t and newlines by \n.

Sample file:

  name,height,weight
  Kai,180cm,80kg
  Kim,170cm,60kg
  Koo,190cm,20kg

Warning: all field types may not be supported.

Indice de todos los archivos de ayuda