By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,404 Members | 2,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,404 IT Pros & Developers. It's quick & easy.

get current number of image as x of y where y is no of images

P: 1
hope you can help me, thanks!=)

i need to display something like this: x of y pictures.
the y is the number of total pictures in the database.
how do i get the x?

i'm making a 'slideshow' of the pictures of the members on a site, just like what friendster does.

thanks and more power!=)
May 16 '07 #1
Share this Question
Share on Google+
3 Replies


Atli
Expert 5K+
P: 5,058
hope you can help me, thanks!=)

i need to display something like this: x of y pictures.
the y is the number of total pictures in the database.
how do i get the x?

i'm making a 'slideshow' of the pictures of the members on a site, just like what friendster does.

thanks and more power!=)
Hi, catramos, and welcome to TSDN.
Please look over our Posting Guildelines when you have the time. Especially the part about creating good titles.

As for your problem, I don't really understand what you'r asking. What is X?
Are you trying to split the total pictrures into groups (pages)?
If you could please explain this better, we'd be happy to help.

Also, please share with us any relevent code or ideas you've had to solve the problem.
May 16 '07 #2

cassbiz
100+
P: 202
Here is somewhat of a tutorial to do what you are asking

phpbuilder
May 16 '07 #3

cassbiz
100+
P: 202
Here is one more tutorial / example if you are storing your data in a MySQL DB
mysql count
May 16 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.