i gotta create an image slideshow... only for images.. but all the images should be from the database.. i dont wanna use things apart from html & css... can u help..

html cannot connect to a database. you would need to use php, which could be encapsulated within html.

I have used the following codes for the slideshow alongwith a bit more of these....but need some changes.

var photos=new Array()
photos[0]="images/8-x-10-tasveer-5e.jpg"
photos[1]="images/93vande-mataram.jpg"
photos[2]="images/2008_slumdog_millionaire_005.jpg"

now wht i need is that all these images should appear from the database.. i tried doing this with some naive codes but failed.. canu help me with the codes....thax in advance...

You can't do it with just HTML and CSS or Javascript. You'll need PHP to connect to your database.