I am developing a website where I have come across a problem. The thing is, the user has to select one image out of the 3 images that I am displaying. How to capture that click and store that particular clicked image in the database? My sql is the dB.
Thanks in advance
PHP (typically) has nothing to do with graphical user interfaces. The user interface you are probably talking about is HTML in the browser. The HTML way of doing this is a checkbox/radio button in a form with a submit button. Possibly the images can be the submit button instead. For something more dynamic, you need to use Javascript.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With