【问题标题】:how to add an apostrophe in php and html如何在 php 和 html 中添加撇号
【发布时间】:2015-07-04 23:11:15
【问题描述】:

我试图在标题中添加“有什么好处?”使用 html 符号撇号,但它打破了 php 的任何想法?

        the_widget( 'zerif_ourfocus','title=Whats The Benefits?&text=Our goal is to bring a winning experience! As a member of a Realta Syndicate you will join a community of like-minded individuals that share the same passion for horse racing and collectively we cheer our horses to the finishing line. At Realta Horse Racing Club we are committed to keeping our members up-to-date on all aspects of training and when our horses are to be declared to run. We offer you the chance to see the progression of your horse from the training gallops to the Parade Ring and from the starter’s flag right through to the exhilarating feeling of being part of the team behind your horse finishing first past the post and into the Winners Enclosure. We believe you cannot beat the value offered in our club membership, Join Us!&link=#&image_uri='.get_stylesheet_directory_uri()."/images/Realta-logo-small.png", array('before_widget' => '', 'after_widget' => '') );

【问题讨论】:

  • 你应该能够用反斜杠转义它,即 What\'s The Benefit

标签: php html symbols


【解决方案1】:

将分隔符更改为双引号 " 或转义要添加的单引号 \'

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-10-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多