http://webdesign4.georgianc.on.ca/~100141468/comp2084/todo/clients
問題:http ://webdesign4.georgianc.on.ca/~100141468/comp2084/todo/timesheets/filter2/7
これは小文字の変数か何かの問題であるに違いありませんが、私はそれを理解することができません。Filter2.ctp IDnameHoursclientsedit
<? foreach($Timesheets as $row): ?>
<tr><td>
<?=$row['Timesheet']['id']?>
</td><td>
<?=$row['Timesheet']['hours']?>
</td><td>
<a href="../../clients/view/<?=$row['client']['name']?>"><?=$row['client]['name']?></a>
</td><td>
<a href="edit/<?=$row['Timesheet']['id']?>">Edit</a>
</td></tr>
<? endforeach; ?>
</table>
タイムシートコントローラーfilter2
function filter2($Client_id) {
$this->set('Timesheets',$this->Timesheet->findAllByClientId($Client_id));
}