On 22 October 2003 00:41, [EMAIL PROTECTED] wrote:
> $fieldarray = array("one","Two", "three", "four");
> $line = "\"".implode("\",\"",$fieldarray) ."\"";
Eck, eck, eck!! Definitely a construct crying out for single quotes rather than
double:
$line = '"'.implode('","',$fieldarray) .'"';
C
<[EMAIL PROTECTED]To: [EMAIL PROTECTED]
ahoo.com>cc:
My ascii file coming in has quotes around each comma delimited item. After reading the
rows into array these quotes are gone. Can't figure out how to put them back in the
array items when displaying the fields. Rows are saved to table and bad rows are
displayed in browser. Hope this fits this li