I'm trying to split up the POST data of a text form field. I want the data split by each line, using the explode() function
So first I check the POST result for strange characters;
$mails = mysql_real_escape_string($_POST["emails"]);
Then I run this, which doesn't work
$emails = explode("
", $mails);
What am I doing wrong? Is it not ? Is my sql escape bit messing me up?