silder using php sql javascript

images are stored in db and i want to create a slider for frontend using javascript and php..any help?

12/15/2018 9:31:53 PM

sahil vernekar

5 Answers

New Answer


How do you print images on a screen? If you are using the img tag with src attribute targeting your image, all you you need to do is replace images from the slider. Here's the example of slider: https://www.w3schools.com/howto/howto_js_slideshow.asp


What's the problem?


Igor Makarsky : sahil vernekar wanted to ask that, may somebody can help to him in to write a code, what with he can reach his images from a MySQL database, and screen them in a photo slider. :) Edit: may he just can't even start that code..


I could get all the images from db and print it on screen...but i want it as a slideshow..thats the problem im facing..idk how to store these images in an array and then pass to javascript for slider


I print the images from my db