silder using php sql javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

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?

15th Dec 2018, 9:31 PM
sahil vernekar
sahil vernekar - avatar
5 Answers
+ 18
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
16th Dec 2018, 10:04 AM
Igor Makarsky
Igor Makarsky - avatar
+ 16
What's the problem?
15th Dec 2018, 10:20 PM
Igor Makarsky
Igor Makarsky - avatar
+ 7
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..
15th Dec 2018, 10:53 PM
Donthack
Donthack - avatar
0
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
16th Dec 2018, 6:37 AM
sahil vernekar
sahil vernekar - avatar
0
I print the images from my db
24th Jan 2019, 1:50 PM
sahil vernekar
sahil vernekar - avatar