close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Help linking Results page to Details page

Thread began 9/01/2010 7:29 am by willo009412397 | Last modified 2/10/2011 12:14 pm by willo009412397 | 1766 views | 13 replies

John LangerBeta Tester

On your details page create a recordset with the data you want to display. If you click on test in the recordset it should display all the records.

Go to the simple display and in the "filter" dropdown select the unique identifier (usually ID).

Make sure URL parameter is selected. This should auto populate the box next to url parameter with "ID". Please note that I'm just guessing "ID" it's what ever you called the auto increment column of your database. Click OK and close this dialog box

Bind whatever fields you need to the page so it displays your "details".

Go to your results page and highlight some text in the row (or create a "Details" link). Link this to the details page.

Now the tricky bit. Suppose this link is "details.php" you need to add "?id=" and then bind the ID from the recordset on that page so it will look like:

php:
details.phpID=<?php echo $row_rsRecordset['ID']; ?>

Now, if you display the results page in your browser and click on the link it should go to the details page taking the url parameter of the record with it. This will then call the correct record and display it on the page.

HTH

Edit: Ooops, looks like Jason beat me to it :)

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

Content

rating

Layout

rating

Ease of use

rating

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...