My requirement is to pass the image name to store.php when user clicked on the image.
Based on the image name i will query database and display the result
But I dont know how to pass the image name when user clicked on it. Please advise.
Code is as follows :
<form action="store.php" method="post">
<div class="col-md-2 about-left">
<figure class="effect-bubba">
<img class="img-responsive" src="images/flip.jpg" id="flipkart" name="flipkart" alt=""/>
<figcaption>
<h2>FLIPKART</h2>
</figcaption>
</figure>
</div>
</form>