Question

I'm trying to display an image from a phtml file. The following doesn't work.

<?php <img src="<?php echo $adress ;?>" /> ?>

Could you help me ?

Was it helpful?

Solution

Loose the php tags around the img tag.

Use simply this:

<img src="<?php echo $adress ;?>" />
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top