我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

php或html显示来自textarea的POST

I have a textarea with text entered on multiple lines.

I submit that using POST to my PHP file...but there are problems. I think they are to do with and in the text area because I am using "enter" to make a new line.

Is there a way using PHP or html I can see what exactly the POST is sending to my php, including the and other extra things?

You can try removing the and with something like:

$string = str_replace("
",'',$string);

Firebug is also a good tool to see what is going on.

Check the function nl2br.

近期文章

  • 如何在xslt中设置get变量?
  • 如何计算具有特定ID的联接表中的所有行
  • PHP MySQL提取字段然后在双空格分割
  • PHP在一个数组中内爆一个数组
  • 如何在数组中查找重复值的索引
  • PHP date()函数在时钟更改后返回错误的值
  • 通过CLI运行CodeIgniter脚本 - 缺少CI超级对象方法
  • Magento:阻止可配置产品选项显示在搜索中
  • 使用preg_replace_callback()回调在PHP中访问全局状态
  • 将数组从jQuery(ajax)发送到PHP
  • PHP Paypal IPN:交易未确认
  • 从文件夹中显示文件作为缩略图php
  • 如何在文本中获取占位符?
  • 命名约定或目录结构
  • php mysql查询没有正确执行
  • 将对象添加到数组 - assign_to_dorm函数
  • Wordpress:来自表单操作文件的MySQL查询
  • Simpletest正在运行我的所有测试两次。 为什么?
  • PHP基本会话用法
  • 如何获得与用户相关的类别明智的价值?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华