search for: csv_file_array

Displaying 1 result from an estimated 1 matches for "csv_file_array".

2006 Feb 13
2
Help reading csv data in a dynamic arrays w/ loops... =)
...that SHOULD be pretty easy, especially in rails... So you guys can know what I''m looking for, I included a block of PHP code that does the job, and the block of ruby code that''s failing me :P. Thanks ahead of time to anyone who can help me out with this... - - - - - <?php $csv_file_array = functionThatSplitsFileIntoArrayByLine("somefile.csv"); $tcount = 0; while ( $tcount <= count($csv_file_array) ) { $csv_file_array[$tcount] = explode($csv_file_array[$tcount], ","); $tcount++; } ?> - - - - - After this php code, $csv_file_array should be a dynamic a...