mabart / parsecsv-for-php

Automatically exported from code.google.com/p/parsecsv-for-php
MIT License
0 stars 0 forks source link

$limit param is ignored #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Not sure if this list is even watched by anyone...but here goes anyway

What steps will reproduce the problem?
1. Create a CSV file with 15 rows of data 
2. Set $csv->limit = 10;
3. Run the csv file through the parser

What is the expected output? What do you see instead?
I expect to see only 10 rows of data imported, but instead I get 15

What version of the product are you using? On what operating system?
Latest version in Windows

Original issue reported on code.google.com by jonathan.behr@gmail.com on 13 Aug 2010 at 10:00

GoogleCodeExporter commented 8 years ago
OK, i solved this using the following:
$csv = new parseCSV($file_name, null, 10);

Original comment by jonathan.behr@gmail.com on 13 Aug 2010 at 12:23