read from file and separate strings
Posted: Wed Jan 11, 2006 5:54 pm
i have a file with a lot of lines... all of this lines are in this format...
name surname dd/mm/yy otherinfo otherinfo
name surname dd/mm/yy otherinfo otherinfo
name surname dd/mm/yy otherinfo otherinfo
name surname dd/mm/yy otherinfo otherinfo
what i want to do is read the file, and manipulate line by line inserting into array, when it finds the \n will look for the next line...
i have check explode function, but i just see obtions to explode when it finds something between strings and in this case i don't have nothing...
how can i do this ??
name surname dd/mm/yy otherinfo otherinfo
name surname dd/mm/yy otherinfo otherinfo
name surname dd/mm/yy otherinfo otherinfo
name surname dd/mm/yy otherinfo otherinfo
what i want to do is read the file, and manipulate line by line inserting into array, when it finds the \n will look for the next line...
i have check explode function, but i just see obtions to explode when it finds something between strings and in this case i don't have nothing...
how can i do this ??