PHP
- 22 ответа
- 0 вопросов
6
Вклад в тег
<?php if (!empty($images)): ?>
<?php foreach($images as $img): ?>
<?php
$name = pathinfo($img['filename'], PATHINFO_FILENAME);
$ext = pathinfo($img['filename'], PATHINFO_EXTENSION);
?>
<a href="#modal-order" data-toggle="modal" data-img="/uploads/<?php echo $img['filename']; ?>" ></a>
<?php endforeach; ?>
<?php endif; ?>