我的操作是:
var SimTxt = "some text & some other text";
...
xmlhttp.send(&SimTxt ="+SimTxt);
...
<?php
$SimTxt = $_POST['SimTxt'];
echo
<button id="btn9" class="sim_btn" type="button">
'.$simBtn10.'
</button>
但是屏幕上的printet只是删除“&”符号后的“一些文本”
我的操作是:
var SimTxt = "some text & some other text";
...
xmlhttp.send(&SimTxt ="+SimTxt);
...
<?php
$SimTxt = $_POST['SimTxt'];
echo
<button id="btn9" class="sim_btn" type="button">
'.$simBtn10.'
</button>
但是屏幕上的printet只是删除“&”符号后的“一些文本”