html标签属性问题的值中的引号 [英] Quotation marks in value of html tag attribute problem
本文介绍了html标签属性问题的值中的引号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<?php
$myname = 'my name have quotation marks " <- here';
?>
我试着:
And i try to:
<input type="text" name="newnameproposition[<?php echo $myname ?>]">
和html有一个小问题,因为:
And html have a little problem becouse of:
name="newnameproposition[my name have quotation marks " <- here]"
任何人都有这种问题吗?
Can anybody had this kind of problem?
推荐答案
这篇关于html标签属性问题的值中的引号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文