Try this "Jai Maharashtra"
<?php foreach ($posts as $post): ?>
<tr>
<td>
<?php echo $post['Post']['id']; ?></td>
<td>
<?php echo $html->link($post['Post']['title'],'/posts/view/'.
$post['Post']['id']);?>
</td>
<td>
<?php echo $html->link('Delete',"/posts/delete/{$post['Post']
['id']}",null,'Are you sure?')?>
|
<?php echo $html->link('Edit',
'/posts/edit/'.$post['Post']['id']);?
>
</td>
<td>
<?php echo $post['Post']['created']; ?>
</td>
</tr>
<?php endforeach; ?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---