Hello,
I am trying to parse a CSV file. I am counting on the fact that there
will be 10 entries per row
while (($data = fgetcsv($handle , 1000, ",")) != FALSE)
{
but that is not always true. Sometimes the array has less elements.
After I get my $data array, what is the quickest way to fill it up with
empty elements so that the total size is 10?
Thanks, -Dave
I am trying to parse a CSV file. I am counting on the fact that there
will be 10 entries per row
while (($data = fgetcsv($handle , 1000, ",")) != FALSE)
{
but that is not always true. Sometimes the array has less elements.
After I get my $data array, what is the quickest way to fill it up with
empty elements so that the total size is 10?
Thanks, -Dave
Comment