Home > Backend Development > PHP Tutorial > PHP echo 输入xml的字符串显示空白

PHP echo 输入xml的字符串显示空白

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:47:43
Original
1314 people have browsed it

<code> echo "<item><title></title>
<description></description><picurl></picurl><url></url></item>";
</code>
Copy after login
Copy after login

这样输入是空白,但是我需要用for语句来使用这样的字符串,请问该怎么做?

回复内容:

<code> echo "<item><title></title>
<description></description><picurl></picurl><url></url></item>";
</code>
Copy after login
Copy after login

这样输入是空白,但是我需要用for语句来使用这样的字符串,请问该怎么做?

每一个语焉不详的问题,都是一场无尽的猜谜游戏。

最好再具体点描述题主你的目的。


给出如下的header数据,可以要求浏览器强行不用HTML解释器,纯文本输出HTTP响应正文:

Content-Type: text/plain

如有需要,也可以:

Content-Type: text/plain; charset=utf-8

Related labels:
php
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template