Php 分析错误:语法错误,意外''。。。在线87

Php 分析错误:语法错误,意外''。。。在线87,php,error-handling,Php,Error Handling,我的问题是这个,问题我检查了更多的时间,但没有发现问题,为什么给我这个错误 $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>

我的问题是这个,问题我检查了更多的时间,但没有发现问题,为什么给我这个错误

$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++;
}
$i=0;
而(计数($profile->vehicles)>=i)
{
回声'
“.$profile->vehicles['cars'][$i]['name']”
“.date(“d/m/Y”,strotime($profile->vehicles['cars'][$i]['post_date'])。”
视图:'.$profile->vehicles['cars'][$i]['Views'].'
问题解决了

<h3>'.date("d/m/Y", strtotime($profile->vehicles['cars'][$i]['post_date'])).'</h3>
”.日期(“日期/月/日”,标准时间($profile->vehicles['cars'][$i]['post_date']))

是的,我读了所有内容,但什么也没读。关闭
日期中的
函数thx。问题解决了!