我有以下错误,无法确定如何修复它,
这是我的代码:
<h2><?=$facility['name']?></h2>
<=$facility['street'].''.$facility['city'].''.$facility['state'].''.=$facility['postal_code'].''.$facility['phone']?>
我收到以下错误:
解析错误”';' 预计在 PHP 短标签之后 '
我很感激任何帮助。
在大家的帮助下,您的代码应如下所示:
<h2><?=$facility['name']?></h2>
<?=$facility['street'].''.$facility['city'].''.$facility['state'].''.$facility['postal_code'].''.$facility['phone']?>
<?=$facility['street'].''.$facility['city'].''.$facility['state'].''.=$facility['postal_code'].''.$facility['phone']?>