Re: [PHP-DB] fgetcsv() only returns half of the rows

2003-09-26 Thread Jason Wong
On Friday 26 September 2003 23:46, Karen Resplendo wrote: There are 113 rows in my comma delimited text file and the code below only displays 62 of them. It executes very quickly so I'm not thinking there is a time out problem. Any ideas? //here is URL with fgetcsv() explanation:

Re: [PHP-DB] fgetcsv() only returns half of the rows

2003-09-26 Thread Karen Resplendo
Does that mean that my length setting has to be exactly the length of the row? I don't know this because it is a comma delimited file, not a space delimited. The function description says: The length parameter must be greater than the longest line to be found in the CSV file (allowing for

Re: [PHP-DB] fgetcsv() only returns half of the rows

2003-09-26 Thread Jason Wong
On Saturday 27 September 2003 01:24, Karen Resplendo wrote: Does that mean that my length setting has to be exactly the length of the row? No. I don't know this because it is a comma delimited file, not a space delimited. The function description says: The length parameter must be greater

Re: [PHP-DB] fgetcsv() only returns half of the rows

2003-09-26 Thread Karen Resplendo
What I am trying to do: lab uploads txt file php validates file, row by row, field by field (against database) I display bad rows and reasons in red and reject file I've figured out a different way to display the whole row by just printing the array with , instead of br/n Just wondering why