Re: [PHP] Export/Write rows from DBF to CSV

2010-02-19 Thread Andrew Ballard
On Thu, Feb 18, 2010 at 5:31 PM, OBXer wrote: > > I'm trying to adopt this piece of code for my use.  I fixed the csv_data .= > trim error.  Does anyone know how I can fix empty fields?  Everything is > dumping to a csv file but information is not matching up.  I don't know if I > can insert a spa

Re: [PHP] Export/Write rows from DBF to CSV

2010-02-18 Thread Paul M Foster
On Thu, Feb 18, 2010 at 02:31:00PM -0800, OBXer wrote: > > Rahul S. Johari-2 wrote: > > > > Ave, > > > > I'm trying to retrieve data from a DBF database and write it to a CSV > > file in a comma delimited format. I'm able to get the data and write > > it to CSV, but it only writes the last row/re

Re: [PHP] Export/Write rows from DBF to CSV

2010-02-18 Thread OBXer
I'm trying to adopt this piece of code for my use. I fixed the csv_data .= trim error. Does anyone know how I can fix empty fields? Everything is dumping to a csv file but information is not matching up. I don't know if I can insert a space or something if field is blank? Rahul S. Johari-2 w

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Rahul S. Johari
On Mar 13, 2009, at 11:44 AM, Shawn McKenzie wrote: Rahul S. Johari wrote: On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote: On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari < sleepwal...@rahulsjohari.com> wrote: Ave, I'm trying to retrieve data from a DBF database and write it to a C

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Shawn McKenzie
Rahul S. Johari wrote: > > On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote: > >> On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari < >> sleepwal...@rahulsjohari.com> wrote: >> >>> Ave, >>> >>> I'm trying to retrieve data from a DBF database and write it to a CSV >>> file >>> in a comma delimited

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Rahul S. Johari
On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote: On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari < sleepwal...@rahulsjohari.com> wrote: Ave, I'm trying to retrieve data from a DBF database and write it to a CSV file in a comma delimited format. I'm able to get the data and write it to

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Bastien Koert
On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari < sleepwal...@rahulsjohari.com> wrote: > Ave, > > I'm trying to retrieve data from a DBF database and write it to a CSV file > in a comma delimited format. I'm able to get the data and write it to CSV, > but it only writes the last row/record ... no