RE: [PHP] Rearranging Order of Photos
| From: | @ Darwin | Date: | Fri, 01 Nov 2002 01:50:47 +0000 |
| Subject: | RE: [PHP] Rearranging Order of Photos | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122368@lists.php.net to get a copy of this message | ||
Monty, maybe you can try using a database and PHP together to organize these
photos. A suggestion would be to store only the path to the photos in a
MySQL database, for example, and store the actual photos in the file system.
If you would like to have these photos in a specific order then just create
a field that will number the placement of these photos from 1 to some
number. There are many possibilities on how you can arrange something like
this with a database back-end. You just have to be a little creative while
keeping your needs in mind. Hope that helps.
-- Navid
> -----Original Message-----
> From: Monty [mailto:monty3@hotmail.com]
> Sent: Thursday, October 31, 2002 7:01 PM
> To: php-general@lists.php.net
> Subject: [PHP] Rearranging Order of Photos
>
>
> Hi, I need to write a script that re-organizes the order of photos that
> appear in an online photo gallery. I'm not sure if I can do this
> completely
> with PHP or if I need to incorporate Javascript as well, but, I was hoping
> someone here might have or know of a site that has some sample
> scripts that
> allow someone to re-order photos displayed in a thumbnail gallery. I'm
> having a hard to figuring out the best fool-proof way to accomplish this
> with PHP alone.
>
> Thanks!
>
> Monty
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>