Hybrid Developer
Hybrid Developer

Reputation: 2340

How to create a dynamic slider using php,my-sql,j-query

I was planing to create a website.It contains some dynamic contents.Which is a slider like this but now it is hard coded. I want to make it dynamic means using a my-sql db the slider should load images from a folder.And using some php script it should update the db with the new images from the folder, at each loading of website how do i do this please anyone help me to do this.

Upvotes: 0

Views: 2468

Answers (1)

Vimalnath
Vimalnath

Reputation: 6463

There are many ways to do the lazy load of data (load your data(images) on scrolling or sliding)

You could see a simple example here

The example shown is for loading contents(not images) from the mysql database, but you could use the same logic loading dynamic images as well.

Upvotes: 1

Related Questions