Hi there,

I would like to have an hidden input field with the actual ID. When he
clicks on a Link, the Data with the given ID should be deleted.

my code in the "view.thtml":
<?php echo $html->hidden('Input/id'); ?>

now i would like to have a Link at the bottom:
<?php echo $html->link('Delete', "/inputs/delete/{$tempID}", null,
'Sure?');?>

As you can see I have a $tempID which should have the value of the
hidden input field at the top


How can i manage to get the ID?


Thanks,

Felix


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to