Use this: str_replace('|', PHP_EOL, $str);. You should use PHP_EOL instead of "\n" because PHP_EOL will always work on all server platforms. (NB. Windows uses " ...
確定! 回上一頁