我有以下代码:
case "links":
$SideContent ='<a href="http://www.EXAMPLE.net" target="_blank">Example Link</a>';
break;
如何用从我的列表中提取的品牌替换显示“EXAMPLE”的链接区域 - 我已经在页面上对其进行了回显,但不确定如何在现有 php 代码中使用回显:
<?php echo $brand_to_use; ?>
IE我的目标如下:
<a href="http://www.$brand_to_use.net"