Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

advice for best way to do this dynamic table -please help

New Here ,
Apr 12, 2008 Apr 12, 2008

Copy link to clipboard

Copied

Hello, I would like to create paginated recordsets without specifying the filename over and over again. For example, if I have folders of pictures with sequential filenames, is there anyway to get around manually entering them in the database? If not, what is the best way to go about doing this because I will have a great number of these "books" to create. Maybe there is a way to just auto-enumerate a 1.jpg, 2.jpg, 3.jpg, 4.jpg etc in the db and then I can just drop in the pictures since the path would be the same.

I'm using php/mysql for the db end.

Many thanks in advance!

dwnoob
TOPICS
Server side applications

Views

226
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 13, 2008 Apr 13, 2008

Copy link to clipboard

Copied

LATEST
Why not have a record ID# and have the code programatically generate the
image name? That way you wouldn't need an image field at all, e.g.,

<img src="/path/path/path/imagename -<?php echo $rs_recordset['recordID'];
?>.jpg"....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"dwnoob" <webforumsuser@macromedia.com> wrote in message
news:ftrh3v$2a8$1@forums.macromedia.com...
> Hello, I would like to create paginated recordsets without specifying the
> filename over and over again. For example, if I have folders of pictures
> with
> sequential filenames, is there anyway to get around manually entering them
> in
> the database? If not, what is the best way to go about doing this because
> I
> will have a great number of these "books" to create. Maybe there is a way
> to
> just auto-enumerate a 1.jpg, 2.jpg, 3.jpg, 4.jpg etc in the db and then I
> can
> just drop in the pictures since the path would be the same.
>
> I'm using php/mysql for the db end.
>
> Many thanks in advance!
>
> dwnoob
>
>

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines