How do i get the name of the image without the extension at the end ex. (.jpg) i got this code
functions.php
function get_image($id="1") {
?>
<img class="img-responsive img-portfolio img-hover" name="picture" src="images/gallery/<?= urldecode(base64_decode($id)); ?>" alt="">
<?php
}
pictures.php
<center>
<form action="" method="POST">
<div class="col-lg-12">
<?php
get_image($imageID); // $imageID is read from database
?>
</div>
</form>
</center>