我的块之一有以下 PHP 代码
<?php global $base_url; ?>
<div class = "order-help">
<div class = "rc-img"><img src = "<?php print $base_url; ?>/sites/all/themes/businessconnect/images/contacts-box.jpg" alt = ""/></div>
</div>
这在我的块中显示图像很好,但我也想让图像成为其他页面的超链接。为此,我使用了以下代码
<?php global $base_url; ?>
<div class = "order-help">
<?php print( <a href="http://mylink.com/path/">
<div class = "rc-img">
<img src = "<?php print $base_url; ?>/sites/all/themes/businessconnect/images/contacts-box.jpg" alt = ""/></div>
</a>' ); ?>
</div>
但它不起作用。我错过了什么?请帮忙