Re: Pointer for csv files
| From: | Nitsan Bin-Nun | Date: | Sat, 30 May 2009 12:07:52 +0000 |
| Subject: | Re: Pointer for csv files | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293382@lists.php.net to get a copy of this message | ||
http://il.php.net/manual/en/function.file.php
http://il.php.net/manual/en/function.str-getcsv.php
http://il.php.net/fgetcsv
You can go through the lines and start buffering them when you get to 400,
and stop the buffer and continue; the loop when you reach line 1400.
On Sat, May 30, 2009 at 12:56 PM, shahrzad khorrami <
shahrzad.khorrami@gmail.com> wrote:
> hi,
>
> Is there any function in php to get data of a csv file from a line to
> another line that we say?
> for example get me data from line 400 to line 1400 of a csv file.
> if
> no function, what you recommend to get data?
>
> Thanks in advance,
> Shahrzad
>