Re: Appending 1 D array into a 2 D array

2007-08-10 Thread John W. Krahn
Mahurshi Akilla wrote: I am trying to read a csv file into a 2D array matrix I am having a hard time trying to get the array returned by split function to "attach" to a 2D array. See the code below for further info on what I'm trying to do ## initialize $row = 0; $col = 0; ## go thru eac

Re: Appending 1 D array into a 2 D array

2007-08-10 Thread Mr. Shawn H. Corey
Mahurshi Akilla wrote: I am trying to read a csv file into a 2D array matrix I am having a hard time trying to get the array returned by split function to "attach" to a 2D array. See the code below for further info on what I'm trying to do ## initialize $row = 0; $col = 0; ## go thru eac

Appending 1 D array into a 2 D array

2007-08-10 Thread Mahurshi Akilla
I am trying to read a csv file into a 2D array matrix I am having a hard time trying to get the array returned by split function to "attach" to a 2D array. See the code below for further info on what I'm trying to do ## initialize $row = 0; $col = 0; ## go thru each line of file while () {