|
Posted by thecoolone on 10/31/06 16:14
I have a image-website that displays various photos. each photo's are
labelled with integers. I would like to know if there is a method of
converting the integers into a string and gettin a count of the number
of downloads of a particular image.
For eg:
these are the images dloaded by a single user\
IMAGES:- 7001,7025,7841,7459,7584,7741,7415
Assuming that i have assigned each of these variables to a string as
$picname=$7001.
Now i would like to search thru the list of numbers and find out which
photo was downloaded how many times i.e no. of hits of each picture.
I thought of using an case block but then the I had to place a counter
for each picture seperately.
Is there anyother better way of producing the same result??
Navigation:
[Reply to this message]
|