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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • catramos
    New Member
    • May 2007
    • 1

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

    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!=)
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Originally posted by catramos
    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.

    Comment

    • cassbiz
      New Member
      • Oct 2006
      • 202

      #3
      Here is somewhat of a tutorial to do what you are asking

      phpbuilder

      Comment

      • cassbiz
        New Member
        • Oct 2006
        • 202

        #4
        Here is one more tutorial / example if you are storing your data in a MySQL DB
        mysql count

        Comment

        Working...