解析错误:语法错误,意外';' ...在线87
问题描述:
我的问题是这个问题,我查了更多的时间,但没有找到问题,为什么给我这个错误。解析错误:语法错误,意外';' ...在线87
$i=0;
while(count($profile->vehicles)>=$i)
{
echo '
<div class="name col-md-4 col-lg-4">
<h3>'.$profile->vehicles['cars'][$i]['name'].'</h3>
</div>
<div class="post_date col-md-3 col-lg-3">
<h3>'.date("d/m/Y", strtotime($profile->vehicles['cars'][$i]['post_date']).'</h3>
</div>
<div class="views col-md-3 col-lg-3">
<h3>Views:<span>'.$profile->vehicles['cars'][$i]['views'].'</span></h3>
</div>
<div class="edit col-md-2 col-lg-2">
<h3><a href="?page=profile&parent=edit&id='.$profile->vehicles['cars'][$i]['id'].'" >Edit</a></h3>
</div>
';<--Here is the error
$i++;
}
答
问题解决了。
<h3>'.date("d/m/Y", strtotime($profile->vehicles['cars'][$i]['post_date'])).'</h3>
是的,我读了所有,但没有。 –
关闭''''日期'功能 –
Thx。问题解决了! –