wanted4u
asked on
explode ("\n\r", $_GET["email"]); doesn't work
Hi Expert,
The following doesn't work.
$emailadressen=explode ("\n\r", $_GET["email"]);
$_GET["email"] is a text area.
The user can give in multiple e-mail adressen seperate them with line feeds.
The explode function don't work. I've also tried with only "\n" of "\n\r" or "\r\n".
Do I something wrong here?
Regards,
V.R. Jansen
The following doesn't work.
$emailadressen=explode ("\n\r", $_GET["email"]);
$_GET["email"] is a text area.
The user can give in multiple e-mail adressen seperate them with line feeds.
The explode function don't work. I've also tried with only "\n" of "\n\r" or "\r\n".
Do I something wrong here?
Regards,
V.R. Jansen
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've make a mistake somewhere else in the program, so I make a wrong conclusion..
$emailadressen=explode ("\r\n", $_GET["email"]); works perfectly, but your solution is maybe safer to use and works also perfect.
Thanks ....