I want to scroll images. but those images stored in database.
I want to scroll images date wise.
Suppose I upload number of images today, then those images I only want to scoll on web site. Any body here who can help me?
I want to scroll images. but those images stored in database.
I want to scroll images date wise.
Suppose I upload number of images today, then those images I only want to scoll on web site. Any body here who can help me?
along with the imges ,store the upload date. Whwn u retrive / scroll sort the images by the date field. Your problem will be solved.
thnx 4 ur help
bt i just want to know how can i reterive images from database?
i just want to store thm in a array.
can u help me how can i store database images in array..
I think Nobody is there who can help me!!!
Plz solve My problem!!!!!!!!!!
Hi svtpooja,
I don't know ASP.NET.....But i have done it PHP. My question is if you run a query then u always get a resultset. Using the resultset you can easily get the array. In java they are using iterator.
So take the image path from database and store it in array. Finally display the images one by one..I have done it php for ad banner images..Here is the sample code for your reference...
Code:$i) { $imgname = mysql_result($res, $i, "Image_path"); $Image = "../AdImages/".$imgname; $Imgaeids.= "'$Image',"; $i++; } $Imgaeids = preg_replace("/,$/", "", $Imgaeids); ?>
Last edited by psuresh1982; 08-27-2007 at 02:47 AM.
Thnx Suresh.....
![]()