Cakephp html image link + text, without css

How to create html link with text and image using cakephp Html helper as below

<a href="#"> <img src="images/icons/web-app/48/add-user.png" width="48" height="48"> Add User </a> 

I want the end result as

enter image description here

I know I can do this with css, but I just want to know how this is possible using cakephp

0
source share
1 answer
 echo $this->Html->link($this->Html->image('design/unige_logo.png', array('width' => '48', 'height' => '48')) . ' ' . __('Add user'), '#', array('escape' => false)); 
+7
source

Source: https://habr.com/ru/post/945566/


All Articles