Pages

Sunday, June 26, 2011

CakePHP:Button Image does not appear

Button Image does not appears in fact html tags are converted to escape sequences

When ever an button image is inserted tags appear as in written instead of showing image

1 comment:

  1. The simple solution is to use the below code to resolve this issue

    echo $this->HTML->image('imagename.gif',array('alt'=>'al name',true)),'#',array('escape'=>false));

    ReplyDelete