![]() |
|
#1
|
|||
|
|||
Reading data from a file into a multi-dimensional arrayI hope I can count on your patience with a terribly simple question.
I know how to read data from a simple file such as term1 term2 term3 into a PHP array, using the function file(). But I have been unable to determine how to read data of the form term1 0 term2 7 tern3 3 into a 2-dimensional array. I need to read the data from a file and at the end, write the updated data back to that file. I would appreciate any tips! Bruce |
|||
Recent GIDBlog
Problems with the Navy (Enlisted) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 07:44 |
| Having trouble reading in floats from a text file into a 2-dim array | CT++ | C++ Forum | 3 | 24-Jun-2006 00:01 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 13:12 |
| Need help deleting the last element in the array | headphone69 | C++ Forum | 2 | 15-Mar-2006 19:31 |
| How to read unknown total of int data from text file to a 2-dim array in C or C++? | ladyscarlet99 | C Programming Language | 2 | 09-Sep-2005 14:07 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The