<?php
$result = R::getAll( 'SELECT * FROM product' );
while($row = mysql_fetch_array($result))
{ ?>
<div class="product">
<img src="img/<?php echo $row['id'] ?>.svg">
<?php echo $row['title'] ?>
<?php echo $row['price'] ?>₽
</div>
<?php } ?>