Php转义字符不起作用 [英] Php escape characters doesn't work

查看:125
本文介绍了Php转义字符不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是安装包含php的xampp。



http://i41.tinypic.com/2d11ued.jpg [ ^ ]

I just install the xampp which include php.

http://i41.tinypic.com/2d11ued.jpg[^]

推荐答案

嗨朋友,



实际上\ n,\t等在浏览器中不能作为换行符和制表符源使用。您必须使用< br /> 标记来换行换行符,而使用& tbsp; 。它会工作然后:)



希望它解决了你的问题。如果它解决了你的问题,请评价并标记为已解决:)



有问候

Tushar Srivastava
Hi Friend,

Actually \n, \t etc don't work in browser as newline and tab feed resp. You have to use <br /> tag for newline feed and &tbsp; instead. It will work then :)

Hope that it solved your problem. Please do rate and mark as solved if it solved your problem :)

With Regards
Tushar Srivastava


这篇关于Php转义字符不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆