2016-10-02 3 views
-3

내 문제는 내가 더 많은 시간을 확인했지만 문제를 발견하지 못했는데, 왜이 오류를 줘.구문 분석 오류 : 예기치 않은 구문 오류 ';' ... on line 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++; 
} 
+0

예 모두 읽었지만 아무 것도 없습니다. –

+0

'date' 함수에서')'를 닫습니다. –

+0

Thx. 문제가 해결되었습니다! –

답변

0

문제가 해결되었습니다.

<h3>'.date("d/m/Y", strtotime($profile->vehicles['cars'][$i]['post_date'])).'</h3> 
관련 문제