I want to create a gallery of images using the bootstrap carousel, when saving the multiple images in db they go to the same "photos" column and are separated by "." (foto1.jpg, foto2.jpg, foto3.jpg) now I wish to display them in with the carousel.
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="uploads/<?php echo $foto_thumb; ?>" width="560px" alt="...">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="uploads/image.php" width="560px" alt="...">
<div class="carousel-caption">
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>