You are here: Re: [PHP] Re: previous + next buttons, no DB « PHP « IT news, forums, messages
Re: [PHP] Re: previous + next buttons, no DB

Posted by "Ashley M. Kirchner" on 10/12/17 11:24

Jim Moseby wrote:

>If you use a naming convention for the files in /gallery/ that coincides
>with the artistic order in which they are to be displayed, then Greg's
>simple (yet elegant, and expertly coded) directory listing method would work
>like a charm.
>
>
Unfortunately, they're not. This might work for the first
incarnation of the gallery, but as soon as they start removing and
adding images, that numbered order goes to hell in a hand basket.
Imaging if they deleted #5 and in its place they want to add 4 new
images. Not going to work. No, the images are all named by the picture
name, such_n_such_mountain, this_beach, small_flower, blah, blah, blah.

--
H | I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация