PDA

View Full Version : Image Database



rubbertommy
01-11-2013, 07:21 PM
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 :)

Trinity
02-11-2013, 01:25 AM
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.

rubbertommy
02-11-2013, 09:29 AM
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.

Trinity
02-11-2013, 11:39 AM
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.

Chippiewill
02-11-2013, 08:11 PM
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.

Want to hide these adverts? Register an account for free!