Jump to content

- - - - -

Display different images on a same spot in site after clicking a button.


  • Please log in to reply
No replies to this topic

#1 syazanizul


    Forum Newcomer

  • Members
  • Pip
  • 1 posts

Posted 18 April 2017 - 04:01 AM

I want to make a site where it will show one image to users at first. After clicking a button, it will display another image exactly on that same spot of previous image. The image displayed next cannot be the same with before so I dont think I can use 'random' function to call that next image. So, I plan somehow I want to make that site to show image with incrementing ID, like at first the site call the image I named Pic-1, then call image named Pic-2, Pic-3 and so on.


I'm told that I can do that with PHP, but I'm still unclear about what to do.

Thanks for any response btw.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users