php 删除换行符

$text=str_replace("\n","",$text);
$text=str_replace("\r","",$text);
$text=str_replace("\r\n","",$text);

相关文章:

  • 2022-12-23
  • 2021-04-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
猜你喜欢
  • 2021-11-18
  • 2022-01-13
  • 2021-12-27
  • 2022-12-23
  • 2021-10-23
相关资源
相似解决方案