I want to display an image with a hyperlink wrapped around it, and not just a text hyperlink, using the cakePHP formHelper :: postLink function.
Does anyone know how to do this? I tried a few things, but could not get it to work.
<?php echo $this->Form->postLink( 'Delete', array('action' => 'delete', $country['Country']['id']), array('confirm' => __('Are you sure you want to delete ').$country['Country']['name'].'?') )?>
So, instead of "Delete" I want to display the image.
source share