Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5

Thread: Image Database

  1. #1
    Join Date
    Oct 2009
    Posts
    45
    Tokens
    97

    Latest Awards:

    Default Image Database

    Hi Guys,

    My first post in a long time however, I am coding a website and I really need a way to display a number of images on a page and then click a button to move to the next page of images.

    So I am calling out to anyone who might have any ideas on how to code such a thing.

    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by rubbertommy View Post
    Hi Guys,

    My first post in a long time however, I am coding a website and I really need a way to display a number of images on a page and then click a button to move to the next page of images.

    So I am calling out to anyone who might have any ideas on how to code such a thing.

    Thanks
    I feel bad linking to a google search, and it's not meant to be insulting, it's just an easy way of pointing you towards the right places with the right search terms: https://www.google.co.uk/#q=pagination+php

    If you have any problems, just let me know.

  3. #3
    Join Date
    Oct 2009
    Posts
    45
    Tokens
    97

    Latest Awards:

    Default

    Quote Originally Posted by Trinity View Post
    I feel bad linking to a google search, and it's not meant to be insulting, it's just an easy way of pointing you towards the right places with the right search terms: https://www.google.co.uk/#q=pagination+php

    If you have any problems, just let me know.
    Thanks for this but are there any other ways of doing this as I am not that good with php.

  4. #4
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by rubbertommy View Post
    Thanks for this but are there any other ways of doing this as I am not that good with php.
    It's not complicated PHP, I promise. Here's a pretty thorough explanation of how it works and how to set it up: http://www.phpfreaks.com/tutorial/basic-pagination
    The database functions in that are outdated now though, so it's better to use something like PDO or mysqli to connect, but that link is still good to explain the methods involved in pagination.

  5. #5
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    Quote Originally Posted by rubbertommy View Post
    Thanks for this but are there any other ways of doing this as I am not that good with php.
    Do you know JS or Python? If not you probably don't have much choice.
    Chippiewill.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •