Hi, i want to implement a function which the user will click on an image, the image will then change to the next image. On the background, the system also record down how many click(s) have been clicked on the image.
But i am going to run this javascript function on php. That means the picture will be retrieve from database.
Is it possible for me to do so ?
I tried to look for some tutorial for image onclick event online. However, they only retrieve the data from client side.
May i know is it okay to retrieve the image from server side by javascript ?
Thanks for helping

I appreciate your effort a lots