added the "escaped by" option for exporting CSV files so default values for importing/exporting dumps are the same.

This commit is contained in:
Loïc Chapeaux
2001-08-29 18:57:34 +00:00
parent 6d4da778cb
commit 6d4ba8b40a
4 changed files with 22 additions and 19 deletions

View File

@@ -695,10 +695,12 @@ echo "\n";
<?php echo $strStrucExcelCSV; ?>&nbsp;&nbsp;<br />
<input type="radio" name="what" value="csv" />
<?php echo $strStrucCSV;?>&nbsp;:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $strFields . ' '. $strEnclosedBy; ?>&nbsp;
<input type="text" name="enclosed" size="1" value="&quot;" />&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $strFields . ' '. $strTerminatedBy; ?>&nbsp;
<input type="text" name="separator" size="2" value=";" />&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $strFields . ' '. $strEnclosedBy; ?>&nbsp;
<input type="text" name="enclosed" size="1" value="&quot;" />&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $strFields . ' '. $strEscapedBy; ?>&nbsp;
<input type="text" name="escaped" size="2" value="\" />&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $strLines . ' '. $strTerminatedBy; ?>&nbsp;
<input type="text" name="add_character" size="2" value="<?php echo ((which_crlf() == "\n") ? '\n' : '\r\n'); ?>" />&nbsp;&nbsp;
</td>