- Impact
- 111
Hi,
Can I use explode() so that the seperator is a line return ... a new line... etc... something like this:
explode($string, '\n');
Would that work? What I want to do is split a textbox with this data:
______________________________
1041 Parkway Lane
Chicago, Illinois 55102
______________________________
So that "1041 Parkway Lane" and "Chicago, Illinois 55102" are split into the array, meaning that I need explode() to seperate it at \n, right?
Thanks, all help appreciated.
-Matt
Can I use explode() so that the seperator is a line return ... a new line... etc... something like this:
explode($string, '\n');
Would that work? What I want to do is split a textbox with this data:
______________________________
1041 Parkway Lane
Chicago, Illinois 55102
______________________________
So that "1041 Parkway Lane" and "Chicago, Illinois 55102" are split into the array, meaning that I need explode() to seperate it at \n, right?
Thanks, all help appreciated.
-Matt