我在php: $currencysymbol = "£"
之后我想在html中使用它来显示:£1 = xxxxx
但是如何去掉符号和1之间的空白呢?
$currencysymbol 1 = xxxxx //whitespace £ 1
$currencysymbol1 = xxxxx // unknown variable
Try with
<?php
echo $currencysymbol."1" = xxxxx;
?>
我在php: $currencysymbol = "£"
之后我想在html中使用它来显示:£1 = xxxxx
但是如何去掉符号和1之间的空白呢?
$currencysymbol 1 = xxxxx //whitespace £ 1
$currencysymbol1 = xxxxx // unknown variable
Try with
<?php
echo $currencysymbol."1" = xxxxx;
?>