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 数组文件中连接 2 个值,因此我不必编写两次代码。我写错了什么?
<?php echo $lang['work' . 'title']; ?>
在我尝试过的其他人中
<?php echo $lang['work', 'title']; ?> <?php echo $lang['work' 'title']; ?>
<?php echo $lang['work'], $lang['title']; ?>
查看php 数组文档。