close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Making document title a link to actual document

Thread began 4/20/2010 2:55 pm by cnandrews291194 | Last modified 4/23/2010 3:11 pm by cnandrews291194 | 862 views | 5 replies

Eric Mittman

It looks like your loop is occurring for each row that you have. The reason you have the same entries for each row is because the you are looping over the directory contents for each row.

I'm including an example of how a page like this could be setup using a recordset, repeat region, and a separate download page based on the link from the results page. Please check these out to get an idea for how you could setup the listing and download pages.

When I created the results page I just added a recordset to select all of the records in my uploads table. Next I added the file name binding to the page to display it. I then added the link to the download page around the bindings. Next I added in the "?file=<?php echo $row_Recordset1['filename']; ?> to the url in the link. The last part was to select the display that I crafted and apply the repeat region to it. This made it show an entry for each record in my db.

Then on the download page I added the download server behavior, selected the directory and for the file name I set it to this:

<?php $_GET['file'?>

Please post back with any questions that you have about this.

Attached Files

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...