{$v['hotelName']} {$v['levalName']} {eval $comment = ceil($v['gcomment'] / $v['comment'] * 100); echo $comment == 0 ? '' : $comment . '%好评'; }