Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
美好的一天,伙计们,
我需要一些帮助。PHP 中有没有办法将 PHP 变量传递给同一页面上的 Meta 标签?
我不确定你的意思,但也许是这个?
<?php $author = "Jimmi"; ?> <meta name="author" content="<?php=$author;?>">