-1

我有一个字符串 php:

$text = "search";
$text = " ".$text."&nbsp"; // OR $text = " ".$text." ";

当我回显 $text 是结果错误时,如何在字符串上添加退格键

4

1 回答 1

0

你错过了第二行的最后一个分号,你&nbsp应该是 

$text = "search";
$text = " ".$text." "; // OR $text = " ".$text." ";
于 2012-05-16T05:27:14.947 回答