News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Create An Online Photo Gallery (Part 2)
December 16, 2005 @ 07:32:56

PHPBuilder.com has posted the second part of their "Create An Online Photo Gallery" series today.

In the last installment of our Image Gallery project, we just finished the creation of the get_items function. That was one long function! Fortunately, the others are shorter. We have three different functions that do about the same thing. They take the items in the array "lst" and display them in table format. The main differences are the links for them.

They dive right in from the code in the previous part, making the functions that will actually show the images on the pages (whether they are thumbnails or full-sized). They also include some functionality for pagination of the results and a method for displaying errors should they arrise.

0 comments voice your opinion now!
photo gallery online part two photo gallery online part two


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Zend Launches Online Documentation Center

Mike Potter's Blog: Another Flex / PHP e-Seminar July 17th

Community News: Day Camp 4 Developers - Public Speaking for Developers

IBM developerWorks: Developing PHP the Ajax way, Part 2 - Back, Forward, Reload

Mike Potter's Blog: Another Flex / PHP e-Seminar July 17th


Community Events





Don't see your event here?
Let us know!


laravel version framework voicesoftheelephpant composer interview series language opinion community update symfony security introduction mvc package podcast release tool library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework