Add HTML support in attributes text

[php] <?php foreach ($attribute_group[‘attribute’] as $attribute) { ?>
<tr>
<th><?php echo $attribute[‘name’]; ?></th>
<td><?php echo $attribute[‘text’]; ?></td>
</tr>
<?php } ?>
[/php] [php] <?php foreach ($attribute_group[‘attribute’] as $attribute) { ?>
<tr>
<th><?php echo $attribute[‘name’]; ?></th>
<td><?php echo html_entity_decode($attribute[‘text’], ENT_QUOTES, ‘UTF-8’);></td>
</tr>
<?php } ?>
[/php]

Leave a Reply

Your email address will not be published. Required fields are marked *