-2

我有以下错误,无法确定如何修复它,

这是我的代码:

<h2><?=$facility['name']?></h2>
<=$facility['street'].''.$facility['city'].''.$facility['state'].''.=$facility['postal_code'].''.$facility['phone']?>

我收到以下错误:

解析错误”';' 预计在 PHP 短标签之后 '

我很感激任何帮助。

4

2 回答 2

0

在大家的帮助下,您的代码应如下所示:

<h2><?=$facility['name']?></h2>
<?=$facility['street'].''.$facility['city'].''.$facility['state'].''.$facility['postal_code'].''.$facility['phone']?>
于 2013-08-27T18:57:36.673 回答
-1
<?=$facility['street'].''.$facility['city'].''.$facility['state'].''.=$facility['postal_code'].''.$facility['phone']?>
于 2013-08-27T18:54:16.410 回答