RE: [PHP] Re: Parsing file's

2002-06-02 Thread Scott
Heintz PHP Mailing Lists [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 4:43 PM To: Scott Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Parsing file's You may have been heading in the right direction originally with array_slice... This is off the top of my head, I don't guaruntee it will work

RE: [PHP] Re: Parsing file's (SOLVED)

2002-06-02 Thread Scott
everyone. -Scott -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 02, 2002 4:57 PM To: 'Mark Heintz PHP Mailing Lists' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Parsing file's Ok, this did not work, but I have a new idea. From the top 1)Read

[PHP] Re: Parsing file's

2002-05-31 Thread Michael Davey
You should normalise your data - have a field in the second csv that links to the first csv and then you can have as many rows as you want associated with the record in the first file. Mikey Scott [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a csv file

Re: [PHP] Re: Parsing file's

2002-05-31 Thread Scott
That's what I mean by starring at this too much :) I tried writting to a seperate file, but is there a way to take an array and split it every so many records within another loop? Let's say the first row contains the first 18 columns which I already parsed, I then want to grab the next 5

Re: [PHP] Re: Parsing file's

2002-05-31 Thread Mark Heintz PHP Mailing Lists
You may have been heading in the right direction originally with array_slice... This is off the top of my head, I don't guaruntee it will work... $start = 34; $interval = 15; $max = 303; // hop across orig. array 15 columns at a time for($offset = $start; $offset $max

RE: [PHP] Re: Parsing file's

2002-05-31 Thread Scott
] Re: Parsing file's You may have been heading in the right direction originally with array_slice... This is off the top of my head, I don't guaruntee it will work... $start = 34; $interval = 15; $max = 303; // hop across orig. array 15 columns at a time for($offset = $start; $offset $max