I've always used this with great success: $array = preg_split("/\r\n|\n|\r/", $string);. (updated with the final \r, thanks @LobsterMan).
確定! 回上一頁