$liste = explode("\r\n",$_POST["username"]); print_r($liste); if(is_array($liste)){ foreach($liste as $accz){