Skip to content

Instantly share code, notes, and snippets.

View iturgeon's full-sized avatar
💭
The answer is always YES

Ian Turgeon iturgeon

💭
The answer is always YES
View GitHub Profile
<div>
<? foreach ($items as $item) { ?>
<h2><?= $item['product_name'] ?></h2>
<img src="img/<?= $item['product_image'] ?>" />
<p><?= $item['description'] ?></p>
<? } ?>
</div>