解析错误:语法错误,意外';' ......在第87行

时间:2016-10-02 08:45:01

标签: 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>
    <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++;
}

1 个答案:

答案 0 :(得分:0)

问题解决了。

MutationToken
相关问题