[FX.php List] Search Results To Text File

VanBuskirk, Patricia pvanbuskirk at fsu.edu
Mon Jul 13 13:22:31 MDT 2015


Thanks Bev,

I was using that page to attempt the fputcsv function, in every possible way I could imagine and just can't get the result I wanted.

As you can see, I haven't worked with FX or Filemaker.php in a long time. I am having to wrap my mind around it again after about 6 years away.

Trish

From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of BEVERLY VOTH
Sent: Monday, July 13, 2015 3:16 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] Search Results To Text File

Also, you don't need to assign the variables, just push the values
On Jul 13, 2015, at 2:44 PM, VanBuskirk, Patricia <pvanbuskirk at fsu.edu<mailto:pvanbuskirk at fsu.edu>> wrote:


$linearray=array($record['Business_Unit'],$record['WO_ID'],$record['Descr254'],$record['WO_Type'],$record['Shop_ID']);
    fputcsv ( $fp , $linearray, $delimiter = ',', $enclosure = '"' )."\l" ;


$linearray=array($record['Business_Unit'],$record['WO_ID'],$record['Descr254'],$record['WO_Type'],$record['Shop_ID']);
    fputcsv ( $fp, $linearray, ',', '"' ) . "\l" ;

Beverly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20150713/ca9dc47e/attachment-0001.html


More information about the FX.php_List mailing list