hi,

this code deletes sth on click.

php echo $html->image("icons/delete.png", array(
                                "alt" => "delete",
                                'url' => array('controller' => 'products', 
'action' => 'delete',
$pr['Product']['id'])
                                )); ?>


but before it does, I'd like to open a window that makes sure, if the
user really wants to delete...now i know in the blog tutorial it is

 <?php echo $html->link('Delete', array('action' => 'delete', 'id' =>
$post['Post']['id']), null, 'Are you sure?' )?>

but i cant make it happen this way..!!!!?????


any ideas?

thank you :)

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to