more flexible csv engine
sime - June 20, 2007 - 15:28
| Project: | Import / Export API |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Seems csv get engine is almost generic enough to be a "delimited" engine and allow me to use importexportapi_get_data(). In the function below, all I need is a way to override "," with "\t" and the enclosure with "" (ie. nothing).
<?php
function importexportapi_csv_get_parsed($csv_doc, $field_delimiter = ',', $record_delimiter = "\n", $enclosure = "\"", $optional = 1)
?>
#1