Possible Duplicate:
Parse form textarea by comma or new line
I am copying data from a single column in excel and pasting it in textarea
On submit i need to get data pasted from excel in a array
$data=explode(‘\n’,$_POST[‘url’]);
or
$data=explode(‘\t’,$_POST[‘url’]);
doesn’t work
Can anyone help me with this.
Thanks
you have to check this question:
Parse form textarea by comma or new line
using that in your code:
$data array will have the required data