私はtot_Price
とunit_Price
をそれぞれ合計して、これらの2つの属性の平均を分析できるようにしたいと思います。[php]のforeachループの合計値
<tr>
<td>{{ $X_land->house_Type }}</td>
<td class="address">{{ $X_land->the_Location }}</td>
<td>{{ $X_land->tot_Price }}</td>
<td>{{ $X_land->tran_Area }}</td>
<td>{{ $X_land->unit_Price }}</td>
<td><button id="opener<?php echo $opencount?>">詳細資訊</button></td>
</tr>
どうすればよいですか?
ありがとうございます。
はただ一時的な総コンテナ、 – Ghost