日期:2014-05-17 浏览次数:21139 次
Dongtai = Dongtai & "<a href=""" & replace(LinkUrl("music",0,1,rs("abc")),"5","") & """ target=""play"" title=""点击试听"">爱很简单</a>" & vbCrLf
------解决方案--------------------
Dongtai=Dongtai&"<a href="&replace(LinkUrl("music",0,1,rs("abc")),"5","")&" target=""play"" title=""点击试听"">爱很简单</a>"& VbCrLf
------解决方案--------------------
Dongtai=Dongtai&"<a href='"&replace(LinkUrl("music",0,1,rs("abc")),"5","")&"' target='play' title='点击试听'>爱很简单</a>"& VbCrLf
你可以使用单引号,这样看上去清楚
------解决方案--------------------
你的双引号有问题:
可以两种用法:
1、如果非要用"或‘的话那就用\转义一下
2、'和"交替使用
------解决方案--------------------
Dongtai = Dongtai & "<a href=""" & replace(LinkUrl("music",0,1,rs("abc")),"5","") & """ target=""play"" title=""点击试听"">爱很简单</a>" & vbCrLf
就是这样!