1
http://webdesign4.georgianc.on.ca/~100141468/comp2084/todo/clientsCakePHP的:過濾問題
問題: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>
Timesheetcontroller FILTER2
function filter2($Client_id) {
$this->set('Timesheets',$this->Timesheet->findAllByClientId($Client_id));
}