【发布时间】:2014-10-16 03:08:09
【问题描述】:
我无法查看名称中包含空格的图像 例如:Google Twitter.JPG 未加载,并且在 PHP 回显方法后其名称更改为 Google%20Twitter.JPG。
<image width=150px height = 100px src="upload/profiles/<?php echo trim($image); ?> >
【问题讨论】:
-
空格在url中打印为%20,这是正常的。
-
那么为什么我的图像正常时没有加载?
-
以及如何解决这个问题
-
您没有在链接末尾缺少引号 (") 字符吗?