我是PHP新手。我在树枝文件上,如果这样做 {{dump(content)}}-我明白了:-
{#1937 ▼
-id: "387"
-url: "why-we-are-cool"
-pagetitle: "Why Book With us?"
-hidden: false
-bodytitle: "Why book with us?"
-desc: "plus a 24/7 support team on the end of the phone – t ▶"
-keywords: "why us"
-body: """
<p>Up to 50% off Smith hotels all year round</p>\r\n
<a class="button button-primary" href="https://www.google.co.uk">Join the club</a> <a class="button button-primary" href="https://www.google.co.uk ▶
"""
}
现在,我希望能够从同一树枝文件中更改/添加上述a标签上的属性。我怎么做?非常感谢你的帮助。干杯!