我有一个问题,下面的代码在£之前返回一个带有一点^的A.
这只发生在我正在查询移动设备上构建的智能手机网站上 - 在桌面网站上很好.有人可以解释,并告诉我如何摆脱它?
谢谢
<h1 class="priceCntr"><span class="price">£<?php echo $row_rs_dealsother['cost']; ?></span><span class="costold"> WAS £<?php echo $row_rs_dealsother['costold']; ?></span></h1>
Run Code Online (Sandbox Code Playgroud)
尝试使用编码版本:
£
Run Code Online (Sandbox Code Playgroud)
在你的情况下:
<h1 class="priceCntr"><span class="price">£<?php echo $row_rs_dealsother['cost']; ?></span><span class="costold"> WAS £<?php echo $row_rs_dealsother['costold']; ?></span></h1>
Run Code Online (Sandbox Code Playgroud)